mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1216: A way to mark an entity to always use result cache. Like @UseResultCache class annotation. #1528
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 (Jun 19, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user hypno:
So that even associations, find(), findBy() etc will be affected. Very useful for entities that are being used on every request.
Is that thinkable?
@doctrinebot commented on GitHub (Apr 6, 2012):
Comment created by holtkamp:
During development, I tried to have the out-of-the-box ORM layer handle as much of the queries as possible, essentially I used the Repository functions a lot:
For example, having a specific Repository extend the Doctrine EntityRepository and do something like:
Now all functionality is developed, I am optimizing performance and I find myself having to refer my Repository to my DAO layer which uses DQL, so I can enable the DQL Result Cache...
It would be nice to be able to configure 'DQL Result Cache = on' on Repository level as well...
@doctrinebot commented on GitHub (Dec 20, 2013):
Comment created by @FabioBatSilva:
Fixed by :
b081e5681d@doctrinebot commented on GitHub (Dec 20, 2013):
Issue was closed with resolution "Fixed"