Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:59 Go to next message
Radek Mensik is currently offline Radek MensikFriend
Messages: 2
Registered: November 2014
Junior Member
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 14:58]

Report message to a moderator

Re: Caching queries created by Criteria API [message #1485814 is a reply to message #1485517] Mon, 24 November 2014 15:12 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
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: Sat Nov 09 02:35:38 GMT 2024

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

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

Back to the top