if you want compound foreign keys, you've got to work them for yourselves.
since compound foreign keys are against normalization, i think we won't see this too
soon entering any ejb-spec.
the error is actually quite precise in that 'Both roles of a relation-table
mapped relationship must have key fields' =
<prim-key-field> instead of only <prim-key-class>
i'd always use ids for any table, but this is just my opinion.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025846#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...