1
0
mirror of synced 2025-02-03 05:49:25 +03:00

Fixed issue with entity manager when using LockMode::NONE

This commit is contained in:
Quim Manrique 2015-09-08 00:16:53 +02:00
parent 1b09bb75b0
commit 1dbacec0e4

View File

@ -449,7 +449,6 @@ use Doctrine\Common\Util\ClassUtils;
return $entity;
case LockMode::NONE === $lockMode:
case LockMode::PESSIMISTIC_READ === $lockMode:
case LockMode::PESSIMISTIC_WRITE === $lockMode:
if ( ! $this->getConnection()->isTransactionActive()) {