You just ran into a long standing bug with Hibernate, reported over 5 years ago:
https://hibernate.atlassian.net/browse/HHH-3930
Martijn
On Fri, Jan 8, 2016 at 4:08 PM, Vlad Mihalcea wrote:
> Hi,
>
> I remember that for a bidirectional @OneToOne relationship, the optional =
> false attribute c
le
>> > already.
>> > Keep in mind that Hibernate might need to generate multiple SQL
>> > statements per operation.
>> >
>> > Sanne
>> >
>> > -- Forwarded message --
>> > From: Martijn Dashorst
>> > Dat
Please bear with me, it's 1:45am and someone on the internet is wrong :-).
Somehow this triggered a knee-jerk reaction to an issue that is rather
minor, hasn't bothered me in months (every now and then I come across the
comment in our source code that references this particular hibernate issue,
an