• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EHCache and Hibernate

 
Sandeep Kumar Jakkaraju
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All

First of all how do I make sure that my Hibernate is using the second level cache.
I am not talking about the configuration in hibernate.properties.

I am talking about the ehcache.xml !!!

Thanks
Sandeep Kumar Jakkaraju
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enable some logging in EHCache?

Assuming you have configured your SessionFactory to use EHCache and mapped your cacheable classes as such Hibernate will just use it.
 
Sandeep Kumar Jakkaraju
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Paul

How do I enable logging of ehcahe.... can i do it from ehcache.xml

Thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a read of the EHCache documentation, your answer is there.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic