Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Eclipselink 1.1, one-to-many inside an embeddable

Correct, you are not to specify the mappedBy value in this case then.
Thanks for entering the bug. Till a fix is submitted, a work around would be to remove the mapping from the embeddable and specify it on the owning entity.
----- Original Message -----
Sent: Monday, August 25, 2008 10:23 AM
Subject: Re: [eclipselink-users] Eclipselink 1.1,one-to-many inside an embeddable

Hello Guy
and thanks for your answer!

Guy Pelletier schrieb:
Hi Warner,
This looks like a bug, please enter one.

In the mean time, are you purposely leaving the mappedBy value off the OneToMany? Meaning, is a uni-directional one to many using a join table what you are expecting/want in this case? 
yes, exactly: I want a unidirectional one-to-many and I'm explicitley specifying the join table.
as such, I interpreted the dox that I wouldn't need to specify the mappedBy for the reverse link
thanks and cheers,

eclipselink-users mailing list

Back to the top