You cannot access cmr fields in the ejbCreate method.  Move the call to the ejbPostCreate method.
 
-Joe

>>> "Joao Miguel Garcia" <[EMAIL PROTECTED]> 06/18/02 06:32AM >>>

Hi there,

 

I �m getting this excpetion when calling the create method:

 

EJB Exception: ; nested exception is:

            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.

 

Do you have any idea on how solving this problem?

 

Thanks,

 

Jo�o Miguel Garcia

[EMAIL PROTECTED]

Reply via email to