Add nullability and uniqueness for @OneToOne with @JoinTable

Description

When @OneToOne @JoinTable(inverseJoinColumns = {@JoinColumn(unique = true, nullable = false)}) is applied, persists fail.

Test case forthcoming.

Attachments

1
  • 20 Apr 2020, 03:04 AM

Web links

Activity

Show:

Andrea Boriero May 29, 2020 at 12:13 PM

it is an old comment added when I released 5.4.16 and I changed the fix version to 5.4.17

Sanne Grinovero May 29, 2020 at 11:57 AM

Why the punt to 5.4.17?

What do you mean?

IT Support May 18, 2020 at 2:56 PM

Why the punt to 5.4.17?

IT Support April 20, 2020 at 7:35 PM

All of our tests pass.

IT Support April 20, 2020 at 6:47 PM
Edited

I am adding your much cleaner fix to our code base, and testing in the live system until a release is made. Will follow up if any issues are found. Thanks!

Fixed

Assignee

Reporter

Fix versions

Priority

Created April 20, 2020 at 12:20 AM
Updated April 19, 2021 at 10:54 AM
Resolved April 19, 2021 at 10:54 AM