Hi Maya, May be you can create a PSEUDO PK by creating a NUMBER Column which is for the SEQUENCE NO or ID.
This column will be like 1,2,3 ... It does not have a business meaning. Of course, you need to provide the PK value in ejbCreate(). -Saroj -----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]] On Behalf Of Maya Menon Sent: Thursday, October 03, 2002 9:21 PM To: [EMAIL PROTECTED] Subject: EJB ( CMP) and Primary Keys I have to create a CMP for a table with no primary key but which has a foreign key. Has any one done this ? I am using Websphere and WSAD.. If anyone has done this ... can someone help me. I am confused in creating an EJB for a table with NO primary key.. I got an answer from a group saying , create a pseudo pK, But I am not sure how to do that.. Please 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".
**************************Disclaimer************************************************** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ****************************************************************************************
