I am not sure I understand, but I think you mean you have multiple keys
that identify a unique record. In that case you will want a
<composite-id> with <key-property>s rather than id. I would read about
composite ids in the manual before jumping in and updating your map.

David Morris

>>> "Zhang, John" <[EMAIL PROTECTED]> 10/21/2003 11:49:25 AM >>>
I had a problem to map multiple primary keys from one database table to
<id>
element.  I will appreciate it if anyone would give some suggestions.

john


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to