Can we create associations between 2 non persistable entities? Please explain me in your own words.

0
Can we create associations between 2 non persistable entities? If yes how many associations can we have between them?
asked
2 answers
4

Hi Harsh,

 

Yes, you can create as many associations as you want between non-persistable entities. As they are NP, the only difference here is that they won't be stored in the database.

If you are planning to use a large ‘tree’ of objects, you might want to consider using a database approach in order to free more memory during the processing of these objects.

answered
1

Hey harsh, yes we can have association between two non-persistent entities. We can have all 3 types of association between them.

answered