Announcement Announcement Module
Collapse
No announcement yet.
Cache getCount in PagingAndSortingRepository - improve response time Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cache getCount in PagingAndSortingRepository - improve response time

    I have a data table with 7 million rows. Using PagingAndSortingRepository is excellent. One thing I would like to improve is caching the getcount method in PagingAndSortingRepository due to that this method takes along time to be executed. If the getcount will be cached it will make the response time much faster.
    I found this issue important for others, please see link http://stackoverflow.com/questions/1...tal-count?rq=1 [URL="http://stackoverflow.com/questions/13357364/spring-data-cache-a-queries-total-count?rq=1"]

    How can I get access to the getcount method of PagingAndSortingRepository in order to cache the value for each query?

    Thanks
    Last edited by isys; Feb 28th, 2013, 10:39 AM.

  • #2
    Please tell how to use Spring caching abstraction for PagingAndSortingRepository or CRUDRepository?

    Comment

    Working...
    X