This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Example of primary key class?
It's not a secret anymore!