You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
The only way to make a
@oneToOne
field truly 1:1 is by also adding@unique
.Otherwise it is identical to a 1:M/M:1 relationship and is not restricted.
I see this as a bug. It would seem strange to have to add
@unique
aswell, as you would expect the@oneToOne
annotation to handle this.The text was updated successfully, but these errors were encountered: