Hi,
Does Hibernate support having both entities involved in a one-to-one
association own its side of the association when using
@PrimaryKeyJoinColumn?
My guess is that this is not supported by Hibernate. I just want to confirm.
For example:
@Entity
public class Employee {
@EmbeddedId
p
Hi Gail,
The mapping is IMO invalid. For removal etc. to work properly, the direction
needs to be deducible. However, I’ve observed this mapping as a workaround for
supporting lazy loading on either side of the association, prior to our fixes
in 5.4 with HHH-12842 [1] . The mapping works in
Hi Jan-Willem,
Thanks for responding.
I have also heard from Steve offlist that this mapping is not valid.
Also, please see below...
On Wed, Jan 15, 2020 at 1:20 AM Jan-Willem Gmelig Meyling <
jan-wil...@youngmediaexperts.nl> wrote:
> Hi Gail,
>
> The mapping is IMO invalid. For removal etc. t