Feb 2nd, 2012, 02:51 AM
Hi, does spring-data-mongoDB or mongoDB java driver support something like session cache or second level cache that Hibernate support ? For example every time I load document from mongoDB by its identifier, the DB query is executed but it would be faster to load data from local cache. Of course I know that starting from spring 3.1 caching abstraction is added
Feb 3rd, 2012, 02:23 AM
Spring caching abstraction is the way to go…
Feb 28th, 2013, 09:36 AM
I agree, this is a main problem also for me.
Originally Posted by babltiga
I think there should be a option to cache the getCount() of each query.
Therefor I posted the issue here http://forum.springsource.org/showth...-response-time
Mar 4th, 2013, 03:29 AM
I would like to use Spring caching abstraction for the CRUDRepository. Please give some guide lines