morphia icon indicating copy to clipboard operation
morphia copied to clipboard

Entity cache configuration

Open evanchooly opened this issue 6 years ago • 1 comments

Is your feature request related to a problem? Please describe. Caching of loading entities, particularly references, is not currently configurable in 2.0. Add the knobs necessary to support this similar to 1.x.

see #476

evanchooly avatar Nov 25 '19 05:11 evanchooly

perhaps wrap all fetches in a session and key the cache to the session ID. Would put the minimum driver version at 3.8 which is probably ok.

evanchooly avatar Dec 18 '19 01:12 evanchooly