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 @@ public class ActionQueue {
|
|||
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…
Reference in New Issue