Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Level 2 cache enabled, query cache disabled  RSS feed

 
Ravindra klanka
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What will happen if level 2 cache is enabled and query cache is diabled in Hibernate?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will use the second level cache but not the query cache.

Now, if it were the other way round things would be more interesting.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!