1
0
Fork 0
mirror of synced 2025-04-02 12:56:16 +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()) {