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 b315c0b949
commit fa4e1a04ed
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();