But you do support ways to override this behavior in the application server
specific deployment descriptor?
Cheers
-----Original Message-----
From: Cedric Beust
To: [EMAIL PROTECTED]
Sent: 5/17/01 11:07 AM
Subject: Re: CMP relationships in EJB2.0
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> With the EJB2.0 spec, there is now support for container managed
> relationships for Entity Beans. I wonder how these relationships are
> restored when I load a bean. For example one-to-many relationships,
are
> all the relationships from one bean to the other beans created when I
> load the one bean and then stored in a collection? Or is this done in
a
> lazy loading way, only restoring the relationships when they are used?
This is vendor-dependent, but it obviously makes sense to lazy-load the
relationships, and also all the container-managed fields in general
(i.e. in
Weblogic, ejbLoad() is a no-op).
--
Cedric
========================================================================
===
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".
===========================================================================
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".