HHH-12842 : Remove invalid workaround from ea77c1f for isNullable regression from 2bfe300

This commit is contained in:
Jan-Willem Gmelig Meyling 2018-10-25 12:22:19 +02:00 committed by Gail Badner
parent bf6f105c41
commit 8535adc057
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ public abstract class AbstractPropertyMapping implements PropertyMapping {
}
}
if ( (! etype.isNullable() || etype.isReferenceToPrimaryKey() ) && idPropName != null ) {
if ( (! etype.isNullable() ) && idPropName != null ) {
String idpath2 = extendPath( path, idPropName );
addPropertyPath( idpath2, idtype, columns, columnReaders, columnReaderTemplates, null, factory );
initPropertyPaths( idpath2, idtype, columns, columnReaders, columnReaderTemplates, null, factory );