Hello guys,

How can I create a mapper with two or more fields as primary key?

For instance if we have a table of "people" with a Long primary key  
called ID generated by "IdPK", and also we have a table of addresses  
also with a Long primary key called ID generated by "IdPK". The idea  
is to create an association table with both IDs to represent people  
with many addresses and addresses with multiple people. So both IDs  
will be primary key of the new table.

Thanks in advance,

GA


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to