hi this is a quote from the ejb spec : ..the ejbCreate(...) methods must be defined to return the primary key class type. The implementation of the ejbCreate(...) should be coded to return a null. The return value is ignored by the container..
see the EJB Spec section 14.1.2 for details rgds beN -----Original Message----- From: Manoj Kumar [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 5:46 PM Subject: Return Value for ejbCreate Hi, I have a question regarding the value to be returned from the ejbCreate method of the Entity Bean. What i noticed in most of the examples is that the return value for ejbCerate method is NULL for CMP bean and a instance of the PrimaryKey for BMP beans. why is this diffenrence? Is it that ejbCreate method of CMP bean MUST return the NULL value? Regards, Manoj Kumar. =========================================================================== 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".
