Yes, because the container is supposed to extract from the cmp-fields, or generate, the primary key value.
-----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED] Behalf Of Manoj Kumar Sent: Saturday, 29 March 2003 9:46 p.m. To: [EMAIL PROTECTED] 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". =========================================================================== 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".
