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.

Environment

None

Activity

Show:
IT Support
April 20, 2020, 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!

IT Support
April 20, 2020, 7:35 PM

All of our tests pass.

IT Support
May 18, 2020, 2:56 PM

Why the punt to 5.4.17?

Sanne Grinovero
May 29, 2020, 11:57 AM

Why the punt to 5.4.17?

What do you mean?

Andrea Boriero
May 29, 2020, 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

Assignee

Andrea Boriero

Reporter

IT Support

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Critical
Configure