Hello shreedhar, you need to use read-ahead strategy for loading optimizations. That allows to define load-group for CMPs and CMRs and let these groups be loaded 'on-load', 'on-find' and lazy-loaded (by default). It is covered in Dain's JBossCMP docs.
alex Monday, July 15, 2002, 9:44:07 AM, you wrote: s> Hi, s> I have a one to many relationship between EB's. Say A(1)--->>(*)B s> Now B is a maintained as a collection in the Entity Bean A (CMR). s> A is associated with many B's. Whenever I access a method in A, all the B's s> associated with A get loaded. Is that correct. If so, how can I optimize s> this scenario. s> Thanks, s> regards, s> Shreedhar s> ------------------------------------------------------- s> This sf.net email is sponsored by:ThinkGeek s> Welcome to geek heaven. s> http://thinkgeek.com/sf s> _______________________________________________ s> JBoss-user mailing list s> [EMAIL PROTECTED] s> https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, Alex Loubyansky ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user