This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Example of primary key class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Example of primary key class?" Watch "Example of primary key class?" New topic

Example of primary key class?

Rick Feenstr

Joined: Jul 11, 2003
Posts: 6
Does anyone have an example of a JBoss 3.2 implementation of an CMP entity bean that needs a compound primary key (and thus a PK class)?
JBoss is finding my PK class (class is instantiated (0-arg constructor) during deployment of my entity bean JAR, but the resultant SQL has no field/column names or values.
Any ideas, or working examples I can look at? ejb-jar.xml, java code, etc.
I agree. Here's the link:
subject: Example of primary key class?
Similar Threads
set accessor method for PK
ejbcreate return type
Is primary key a must for an entity bean
CMP 2.0 with oracle-sequence and composite primary key