Oliver Zhou Messages: 41 Registered: February 2012
Member
Hi,
I'm trying to use @CacheIndex to speed up query, it works well when using named query, but when using criteria query, it doesn't work since the query still hits the database.
Is there any particular configuration for criteria?
Criteria queries should end up creating the same native EclipseLink queries as JPQL underneath the covers. What do the queries look like, and how are you creating and executing them?