File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Example of primary key class?" Watch "Example of primary key class?" New topic
Author

Example of primary key class?

Rick Feenstr
Greenhorn

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.
TIA
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Example of primary key class?