Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setCacheMode(CacheMode.IGNORE)

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to increase the speed of my query-result...When I use this:

setCacheMode(CacheMode.IGNORE)

within a query, does it involves the First-Level-Cache?

In the API it s said:

Controls how the session interacts with the second-level cache and query cache.



Is the query cache within the first-level-cache?

When I say "CacheMode.IGNORE", does the query-result have the default Transaction-Isolation-Level?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic