Posts by Josemberg Duarte • 56 points
1 post
-
4
votes1
answer171
viewsA: How to map two equal entities with Hibernate
@JoinColumn is used to name the column that holds the foreign key required by the association. If nothing is specified, the field name will be used, then you simply change the name of one of the two…