diff --git a/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php b/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php index cd52f0cbf..0118a5712 100644 --- a/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php +++ b/lib/Doctrine/ORM/Persisters/StandardEntityPersister.php @@ -283,7 +283,7 @@ class StandardEntityPersister public function delete($entity) { $id = array_combine( - $this->_class->getIdentifierFieldNames(), + $this->_class->getIdentifierColumnNames(), $this->_em->getUnitOfWork()->getEntityIdentifier($entity) ); $this->_conn->delete($this->_class->primaryTable['name'], $id);