mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3674: Additional informations when closing EntityManager #4510
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?
Originally created by @doctrinebot on GitHub (Apr 8, 2015).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user dmecke:
When the EntityManager is closed there is no way to find out why it has been closed afterwards. For example it would be nice if
ORMException::entityManagerClosed()could add the information which query caused it to close. That would ease debugging a lot.Maybe the
EntityManager::close()method could get a parameter which stores the query or informations about it in a property next to theEntityManager::closedproperty?