hibernate-orm
hibernate-orm copied to clipboard
HHH-18598 Determine uniqueness from JoinColumn for inverseJoinColumns
https://hibernate.atlassian.net/browse/HHH-18598
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion. For more information on licensing, please check here.
Thanks for your pull request!
This pull request appears to follow the contribution rules.
› This message was automatically generated.
Closing, since the Jira was rejected. A one-to-many with a join table needs a unique constraint on the FK columns in the join table to ensure semantics of the one-to-many association. If you want many-to-many semantics, use a @ManyToMany