Since you're already using XDoclet I would recommend to let XDoclet create the PK also. Mark those fields which are part of the PK with "@ejb.pk-field". Add "entitypk" to the ejbdoclet task in build.xml.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855279#3855279 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855279 ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user