mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #1505] Fixed issue with entity manager when using LockMode::NONE #9563
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/1505
State: closed
Merged: Yes
There is an issue in the Entity Manager find method when using LockMode::None, it currently forces to open a transaction only when the entity is not "cached" by the unitOfWork. I'm not sure why is the code forcing to start the transaction for a read with no lock mode, it's causing complex problems when using doctrine with concurrency and deamon processes at the same time. I can provide specific examples of when it's causing problems if required.