Hi, We have a number of database tables where the primary key is a compound primary key.
This in itself is not a problem (as we always use a EntityNamePK class for the primary key). What is a problem is that none of these columns are @ejb.persistence columns - they are all themselves foreign keys ie @ejb.relations How can we tag this in XDoclet? because XDoclet complains if we use @ejb.pk-field without using @ejb.persistence (and we can't use @ejb.persistence with the @ejb.relation tag!!!!) Thanks PS - here is the database table, everything marked as * is part of the compound primary key. TEAM_MEMBER ============== STAFF_FK* TEAM_FK* TEAM_ROLE_FK* ----------------------------- ACTIVE_MEMBER ETC_ETC_ETC Paul Reeves European Central Bank Kaiserstrasse, 29, D-60311 Frankfurt am Main, Germany Email: [EMAIL PROTECTED] Voice: +49 69 1344 8312 Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither be binding nor construed as constituting a commitment by the ECB except where provided for in a written agreement. This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised disclosure, use or dissemination, either in whole or in part, is prohibited. If you have received this e-mail in error, please notify the sender immediately via e-mail and delete this e-mail from your system. ------------------------------------------------------- This SF.NET email is sponsored by: The Best Geek Holiday Gifts! Time is running out! Thinkgeek.com has the coolest gifts for your favorite geek. Let your fingers do the typing. Visit Now. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
