DDC-1423: Improving ReadOnly annotation by caching query results #2048

doctrinebot opened this Issue Oct 16, 2011 · 0 comments

2 participants


Jira issue originally created by user jsilvestre:

We should be able to tell Doctrine that we want the result of requests on ReadOnly marked Entities to be cached.

For instance:

CityInformation are not likely to change so it would make sense to cache it and retrieve only MoodInformation (by using an annotation on the concerned Entity).

What would be even better is to tag which properies we want to hydrate from database and which properties we want to hydrate from cache.

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment