Posts by Eri Jonhson • 11 points
1 post
-
0
votes2
answers1712
viewsA: How to name a Hibernate/JPA Constraint?
Complementing @jhonnyvsilvab’s reply as the code is deprecated. For foreign key, do: import javax.persistence.ForeignKey; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; ...…