1
0
mirror of synced 2025-01-17 22:11:41 +03:00

DDC-681 - Fix call to wrong function, need field not column names in lock()

This commit is contained in:
Benjamin Eberlei 2010-07-10 19:23:38 +02:00
parent 722d4a38f4
commit d288e99a34

View File

@ -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
);
}