1
0
mirror of synced 2025-03-14 00:26:08 +03:00

Merge pull request #1505 from qu1m/master

Fixed issue with entity manager when using LockMode::NONE
This commit is contained in:
Guilherme Blanco 2015-11-08 22:51:38 -05:00
commit 46dec5478a

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()) {