Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Caching queries created by Criteria API (Cache is not used on queries created by Criteria query API)
Caching queries created by Criteria API [message #1485517] Mon, 24 November 2014 04:59 Go to next message
Eclipse UserFriend
As I understand from documentation, this is not implemented, is it correct?

"The criteria API is only for dynamic queries, and cannot be used in meta-data or named queries. Criteria queries are dynamic queries and do not perform as well as static named queries, or even dynamic parametrized JPQL which benefit from EclipseLink's parse cache."

more detailed: stackoverflow.com/questions/27091100/eclipselink-cache-is-not-used-for-criteria-api-queries

Is there some workaround? We are using criteria API to build dynamic queries.

Thank you.

[Updated on: Mon, 24 November 2014 09:58] by Moderator

Re: Caching queries created by Criteria API [message #1485814 is a reply to message #1485517] Mon, 24 November 2014 10:12 Go to previous message
Eclipse UserFriend
Moved to the EclipseLink forum.
Previous Topic:EL cache invalidation capabilities does not work
Next Topic:How to verify that result set is cached
Goto Forum:
  


Current Time: Wed Jun 18 22:42:59 EDT 2025

Powered by FUDForum. Page generated in 0.04032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top