This content has been marked as final.
Show 2 replies
-
1. Re: Filling nested collections with specific values
klaro78 Apr 26, 2006 8:01 AM (in response to klaro78)no ideas?
-
2. Re: Filling nested collections with specific values
villi Apr 26, 2006 11:50 AM (in response to klaro78)Hi,
You can use the query language to constrain which objects (i.e. Projects) you want to read
but you always read the whole objects (possibly lazily).
When you work with EJB Entities, you should think like you are working directly on the database records.
Therefore, when you navigate a relationship like tasks and subtasks, you are really following the
foreign key reference, the constraint you used to select your object does not affect that.
Regards,
Villi