HHH-11979 : Invalid SQL when force increment version of inherited entity
(cherry picked from commit dfecae09c5
)
This commit is contained in:
parent
b361d4d49d
commit
2be3d40751
|
@ -1728,7 +1728,7 @@ public abstract class AbstractEntityPersister
|
|||
update.setComment( "forced version increment" );
|
||||
}
|
||||
update.addColumn( getVersionColumnName() );
|
||||
update.addPrimaryKeyColumns( getIdentifierColumnNames() );
|
||||
update.addPrimaryKeyColumns( rootTableKeyColumnNames );
|
||||
update.setVersionColumnName( getVersionColumnName() );
|
||||
return update.toStatementString();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue