| Author |
second level cache (ehcache) doubt
|
vipul bondugula
Ranch Hand
Joined: Oct 14, 2010
Posts: 218
|
|
Hi,
I am novice to hibernate. currently iam working on how to enable second level caching. I am using ehcache that is bundled with my hibernate 3.2.5 version.
I configured ehcache in hibernate.cfg.xml file as follows:
these are the configuration i made. I am not sure whether second level cache is working or not. i googled and found ehcache.xml file has to be writter.
i do not understand what is the use of ehcache.xml file and what should be written into it...Is it mandatory to write?
Another One: Do hibernate default disables second level cache...?
Thanks,
Vipul Kumar
|
Thanks
Vipul Kumar
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
|
You may read this for more information.
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
Sagar Bhatia
Greenhorn
Joined: Mar 06, 2012
Posts: 2
|
|
http://ehcache.org/documentation/configuration/index will be helpful to understand the details of ehcache
Thanks and Regards,
-------------------------------------------------------------------------------------
Sagar Bhatia | sbhatia@infocepts.com | www.infocepts.com
-------------------------------------------------------------------------------------
|
 |
 |
|
|
subject: second level cache (ehcache) doubt
|
|
|