Re: Map based one-to-many

2006-12-12 Thread Abe White
OneToMany mappings default to using a join table unless you name the inverse field with mapped-by. ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its

Re: Map based one-to-many

2006-12-12 Thread Dain Sundstrom
Excellent. That totally worked :) Thanks, -dain On Dec 12, 2006, at 10:05 AM, Abe White wrote: OneToMany mappings default to using a join table unless you name the inverse field with mapped-by. __ _ Notice: This email

Map based one-to-many

2006-12-11 Thread Dain Sundstrom
You new it was coming... so do Map based collections work? :) As many of you know, I'm trying to implement CMP2 on top of OpenJPA. To implement CMR collection sets, it would be very convenient to have a MapPK, Bean instead of just a SetBean, so I was very pleased to see support for this