I hear from the BEA gods on above that WL's CMP 2.0 will support field
groups, which is exactly what you want.  I'm not sure if this is already
there in the current 6.0 version, or will be in 6.1...

Gene


-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Rein Reezigt
Sent: Monday, April 30, 2001 11:18 AM
To: [EMAIL PROTECTED]
Subject: lazy loading in CMP


Hello all,

I wonder if it is possible to use a proxy object to implement lazy
loading
in CMP. I created the proxy object for my Customer EntityBean. I have
created a CustomerProxyBean which is also an Entity Bean. Now I want to
have
the CustomerProxy map one field (custID) to one field in a row (custID /

firstName / lastName / SSN). I can't come up with a good way in CMP. I'm

using weblogic and in the ejbCreate it will not allow me to only map the

custID. I only want to read from the database to see if a customer with
this
custID exists. No writing is done in the Proxy Bean.
If I map all the members in the ejbCreate, it will store the members to
the
database. This is not what I want.

Any ideas how to lazy load in CMP?

Regards,

Rein Reezigt
student computer science
Enschede, the Netherlands

===========================================================================
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".

Reply via email to