Could you be a bit more clear ? Please explain when exactly this error occured ? I mean understanding the scenario is more important before answering.
Regards, Kris -----Original Message----- From: Alvin Wang [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 8:42 PM To: [EMAIL PROTECTED] Subject: An CMR related exception 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". =========================================================================== 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".
