Re: [JBoss-user] Non-unique Primary Keys

2001-06-14 Thread toby cabot
> 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? The quick answer is yes, you can do this, and you probably want to check out EJB

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

2001-06-14 Thread Paul Austin
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 No

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

2001-06-13 Thread Stephen Oakes
> 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 > prim

[JBoss-user] Non-unique Primary Keys

2001-06-13 Thread Nordahl, David C
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 wit