It would be useful to report on which class the invalid PrimaryKeyJoinColumn annotation is present to allow to someone to fix the problem more easily.
Example: Current message : HHH000137: Root entity should not hold an PrimaryKeyJoinColum(s), will be ignored Proposed message: HHH000137: Root entity should not hold an PrimaryKeyJoinColum(s), will be ignored{color:#14892c}: com.yourcompany.classname{color}
Files to modify to my knowledge: - hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java - hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java |
|