Mike Jackson wrote:
I've been looking at the docs but I don't see one that screams "here".  Can
someone point me at something that tell me how to setup for composite
primary keys?

Use primarykey="true" on multiple field-descriptor elements, and the key will be composed as a composite of all those.


See eg the mapping of PERSON_PROJECT table in the m:n example at http://db.apache.org/ojb/docu/guides/basic-technique.html#Mapping+m%3An+associations

Regards,
 Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to