openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Broadhead <>
Subject caching a query
Date Sun, 17 Mar 2019 11:59:59 GMT
i have a query that takes around 8 seconds and i want cache it.  i 
searched for caching a jpa query and came across query cache
i tried pinning the query but it made no difference.
i also tried the hints javax.persistence.cache.retrieveMode and 
javax.persistence.cache.storeMode but didn't see any difference there 
also tried adding @Cacheable to the Entity in question

View raw message