A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Caching
»
EhCache
Author
EHCache and Hibernate
Sandeep Kumar Jakkaraju
Ranch Hand
Joined: Feb 25, 2009
Posts: 75
posted
Feb 25, 2009 04:17:42
0
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
Joined: Apr 14, 2004
Posts: 10336
I like...
posted
Feb 25, 2009 04:32:31
0
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.
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Sandeep Kumar Jakkaraju
Ranch Hand
Joined: Feb 25, 2009
Posts: 75
posted
Feb 25, 2009 22:12:26
0
Hello Paul
How do I enable logging of ehcahe.... can i do it from ehcache.xml
Thanks
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
I like...
posted
Feb 26, 2009 06:52:10
0
Have a read of the
EHCache
documentation, your answer is there.
I agree. Here's the link:
http://aspose.com/file-tools
subject: EHCache and Hibernate
Similar Threads
Hibernate Tool custom template
How to persist an Object
Olympic 2008
Spring Framework and Hibernate
Is India on the right track of Development?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter