[Lift] Combined primary key?

2009-11-23 Thread Arthur
Hi all I can't seem to find a way to use a combined primary key. The use case I'm looking at would be something like a bug tracker where you can comment on each bug. Each comment would have a number (only unique within each bug report). In SQL I'd write something like: CREATE TABLE bug_comments

Re: [Lift] Combined primary key?

2009-11-23 Thread Ross Mellgren
I have heard on the list previously that compound primary keys are not supported by mapper. -Ross On Nov 23, 2009, at 10:18 AM, Arthur wrote: Hi all I can't seem to find a way to use a combined primary key. The use case I'm looking at would be something like a bug tracker where you can

Re: [Lift] Combined primary key?

2009-11-23 Thread David Pollak
On Mon, Nov 23, 2009 at 8:30 AM, Ross Mellgren dri...@gmail.com wrote: I have heard on the list previously that compound primary keys are not supported by mapper. That'd be correct. Please use JPA. -Ross On Nov 23, 2009, at 10:18 AM, Arthur wrote: Hi all I can't seem to find a