I am working on hibernate 5 and implemented the ImplicitNamingStrategy interface. Among other methods, there are two methods called determinePrimaryKeyJoinColumnName(...) and determineJoinColumnName(...). In the java doc, it says about determinePrimaryKeyJoinColumnName: Determine the column name related to {@link javax.persistence.PrimaryKeyJoinColumn} . In * {@code hbm.xml} terms, this would be a {@code } defined for a {@code } * or a {@code } (others?) I annotated my joins with PrimaryKeyJoinColumn and the code works, however the names never get routed through determinePrimaryKeyJoinColumnName(...) but through determineJoinColumnName(...). Am I wrong in believing this is a bug? |