This is not a problem with the table not having the Primary key. But entity
beans must have primary key even if your table does not have one.
For what purpose you want to use the entity beans in this case ??
========================
Regds
Ashwani Kalra
Aithent Technologies
India
========================
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Darya Said-Akbari
Sent: Wednesday, July 25, 2001 7:34 PM
To: [EMAIL PROTECTED]
Subject: How deploy an CMP entity bean without primary key?
Hello,
as I am still working through Richard Monson-Haefel's
EJB book, I have now the problem that I want deploy a
CMP entity bean but can't. The corresponding table do
not have a primary key.
Here is the output:
"ReservationEJBeanGroup.ejbgrp": Entity Bean:
"ReservationBean" Could not find container-managed
field
corresponding to primary key field: public int
com.titan.cruisereservation.ReservationPK.id
Is that a problem not having a primary key in a table?
regards,
Darya
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
===========================================================================
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".