[2.0][DDC-240] Fixed issue with StandardEntityPersister that was attempting to delete Entities based on field names instead of column names.
This commit is contained in:
parent
38bf6c665a
commit
ad578e57f7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user