| This code was called on some of our OneToOne relations in 5.3.6 in `OneToOneSecondPass.doSecondPass(Map)`: ``` if ( value.isReferenceToPrimaryKey() ) { value.setForeignKeyType( ForeignKeyDirection.TO_PARENT ); } ``` This code is gone in 5.4.0 and now only the presence of the "mappedBy" attribute is checked to determine the foreign key direction. The problem is, I cannot set a "mappedBy" because the child entity has no back-reference to the parent entity. |