Each app server provides a different solution for loading of entities.
Check your providers documentation.

James Hicks


-----Original Message-----
From: shreedhar [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 1:47 AM
To: [EMAIL PROTECTED]
Subject: CMP 2.0 Optimization


Hi,

I have a one to many relationship between EB's.

Say A(1)--->(*)B

Now B is a maintained as a collection in the Entity Bean A (CMR).

A is associated with many B's. Whenever I access a method in A, all the B's
associated with A get loaded. Is that correct. If so, is there any well
known optimization strategy since it takes lot of my memory.

Thanks,

regards,
Shreedhar

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

"The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential, proprietary, and/or
privileged material. Any review, retransmission, dissemination, or other use
of, or taking of, any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers."

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to