mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
HHH-14227 Insert statements are not ordered with entities that use inheritance and reference a subclass
This commit is contained in:
parent
5eedda9a46
commit
de6736ba32
@ -1268,7 +1268,9 @@ private void addParentChildEntityNames(AbstractEntityInsertAction action, BatchI
|
||||
for ( int i = 0; i < propertyValues.length; i++ ) {
|
||||
Object value = propertyValues[i];
|
||||
Type type = propertyTypes[i];
|
||||
addParentChildEntityNameByPropertyAndValue( action, batchIdentifier, type, value );
|
||||
if ( value != null ) {
|
||||
addParentChildEntityNameByPropertyAndValue( action, batchIdentifier, type, value );
|
||||
}
|
||||
}
|
||||
|
||||
if ( identifierType.isComponentType() ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user