HHH-10169 - Fix Hibernate ignores foreign-key name in hbm <joined-subclass>

This commit is contained in:
Andrea Boriero 2015-10-27 17:25:39 +00:00
parent 6c72d0daaa
commit 32fce20012
1 changed files with 1 additions and 1 deletions

View File

@ -621,7 +621,7 @@ public class ModelBinder {
}
}
);
keyBinding.setForeignKeyName( entitySource.getExplicitForeignKeyName() );
// model.getKey().setType( new Type( model.getIdentifier() ) );
entityDescriptor.createPrimaryKey();
entityDescriptor.createForeignKey();