No, do not specify the @ejb.bean primkey-field tag/attribute for beans with composite keys.
Only specify the @ejb.pk-field tag on the getters/setters of the fields corresponding to your composite key. Do not use it in your 'getPK()' method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853742#3853742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853742 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user