Re: [hibernate-dev] https://hibernate.atlassian.net/browse/HHH-9798 Unique constraint / not null of @JoinTable for @OneToOne not generated

2020-04-19 Thread Jason Pyeron
> -Original Message- > From: Jason Pyeron > Sent: Sunday, April 19, 2020 11:20 AM > > I think I have found another corner case on the > https://hibernate.atlassian.net/browse/HHH-9798 regression. > > > > > > @OneToOne(fetch = FetchType.LAZY) > > @JoinTable( > > name

[hibernate-dev] https://hibernate.atlassian.net/browse/HHH-9798 Unique constraint / not null of @JoinTable for @OneToOne not generated

2020-04-19 Thread Jason Pyeron
I think I have found another corner case on the https://hibernate.atlassian.net/browse/HHH-9798 regression. The cited example is: @OneToOne(fetch = FetchType.LAZY) @JoinTable( name = "ITEM_SHIPMENT", // Required! joinColumns = @JoinColumn(name = "SHIPMEN