Hi! I am using Weblogic 6.1 SP2 and EJB 2.0. I built a CMR between two
Entity Beans. However, I got the following exception while running:

"javax.ejb.EJBException: When a cmp-field and a cmr-field (relationship) are
mapped to the same column, the setXXX method for the cmp-field may not be
called. The cmp-field is read-only."

However, in the ejbCreate() method in CMP in EJB 2.0, I have to use setXXX
method to initialize the XXX cmp-field. Am I wrong?

Can any guru help? thanks!

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