Title: RE: [JBoss-user] Non-unique Primary Keys

Sun's J2EE developer guide has a good section on this at http://java.sun.com/j2ee/j2sdkee/techdocs/guides/ejb/html/Entity6.html#9455.

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nordahl,
David C
Sent: 13 June 2001 22:36
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Non-unique Primary Keys


Is it possible to create a primary key object for a bean where the PK object
itself is not stored in the database, but its attributes are?
In other words, I have a table which doesn't have a unique primary key but
rather a pair of fields that must be unique.  How do I make a primary key
object without having to add another field to the database?

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to