compound primary key in Mapper

37 views
Skip to first unread message

Lukasz Kuczera

unread,
May 27, 2010, 3:59:26 PM5/27/10
to Lift
Hi Folks.
AFAIK there is no compound primary key in Mapper. This will be hard
but it is first time i'm feeling bad with Lift (i'm uber happy most of
the time). I would love to see compound primary key actually this is
very common case. If it is doable in reasonable time i can implement
it. Fingers crossed, if not i think i'll need just plain fields with
indexes right ?

David Pollak

unread,
May 27, 2010, 7:38:10 PM5/27/10
to lif...@googlegroups.com
It's pretty non-trivial.  I made some huge mistakes with Mapper and making it super-not-easy to do compound PKs was one of a long list of blunders.  Sorry... but if I had a time machine, I'd got back 3 1/2 years and leave a note for myself that includes "Support compound primary keys in Mapper".
 

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




--
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
Reply all
Reply to author
Forward
0 new messages