DDC-681 - Fix call to wrong function, need field not column names in lock()
This commit is contained in:
parent
722d4a38f4
commit
d288e99a34
@ -1697,7 +1697,7 @@ class UnitOfWork implements PropertyChangedListener
|
||||
$oid = spl_object_hash($entity);
|
||||
|
||||
$this->getEntityPersister($class->name)->lock(
|
||||
array_combine($class->getIdentifierColumnNames(), $this->entityIdentifiers[$oid]),
|
||||
array_combine($class->getIdentifierFieldNames(), $this->entityIdentifiers[$oid]),
|
||||
$lockMode
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user