I don't think that's possible with mapper.  Sorry.
You might want to see if JPA supports such a beast.

On Mon, Oct 12, 2009 at 7:30 AM, <my_li...@me.com> wrote:

>
> 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
>
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

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

Reply via email to