Hi,

Sure, your db table may not have a SQL primary key column, but you still
need to designate one or more columns as your EJB PrimaryKey!  If you
designate just one column as PK, and this column is a simple type, then you
can use a simple wrapper class as your PK in your DD.  If you need more than
one column, then you will need to design a custom PK class that reflects
this.

Gene

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Neelu Mehta
Sent: Saturday, August 02, 1997 5:33 AM
To: [EMAIL PROTECTED]
Subject: primary key issue


hi all
if i've a table without primary key then how'll i mention in xml
files(ejb-jar)
'coz its giving me error u've to specify PK class
I'm using weblogic 5.1

thanks in advance
Neelu

===========================================================================
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".

Reply via email to