Looks some design problem. Fine grained objects such as address whose life cycle is dependent on other ejb. They are better implemented as dependent objects.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheers Ashwani Kalra Sr. Mem. Dev. Staff Aithent Technologies India http://www.geocities.com/ashwani_kalra/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjeev Verma Sent: Tuesday, March 05, 2002 1:20 PM To: [EMAIL PROTECTED] Subject: Can a CMP EJB be a CMP field inside another CMP EJB Hi all lets say we have two CMP EJBs (1.1 spec), Person and Address. 1. Can the person EJB have a cmp field as Address EJB? (In EJB 1.1) 2. If yes, what will be the create statement for the table that will hold the person data look like. I basically mean to ask the data type of the Address column. 3. If this was with reference to EJB 2.0, can I still have point 1? I DO NOT mean/want to use <cmr-field>. Thanx Sanjeev =========================================================================== 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".
