Unidirectional @OneToOne with @MapsId does not work with lazy loading

前端 未结 1 1647
小鲜肉
小鲜肉 2021-01-14 15:27

I want to map a @OneToOne association using Hibernate 5.3.10 and JPA.

I know that the parent side of a @OneToOne association cannot be load

1条回答
  •  一向
    一向 (楼主)
    2021-01-14 16:26

    It looks like this is the HHH-12842. The described approach perfectly works in the hibernate 5.4. But it does not work in the hibernate 5.3 branch.

    0 讨论(0)
提交回复
热议问题