DDC-681 - Fix call to wrong function, need field not column names in lock()
This commit is contained in:
parent
722d4a38f4
commit
d288e99a34
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue