aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate and 2-level cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate and 2-level cache" Watch "Hibernate and 2-level cache" New topic
Author

Hibernate and 2-level cache

Daniel Bauer
Ranch Hand

Joined: Apr 15, 2006
Posts: 49
Hello everyone.
I have one quick and short question. How to check if I setup a EHCache correctly? My application doesn't throw any exceptions etc. but I couldn't see much improvment in performance. And I suppose I made a mistake in cache configuration.

Could you please help me with this?
Jonathan Huang
Ranch Hand

Joined: Jun 23, 2006
Posts: 35
2nd level Cache
Daniel Bauer
Ranch Hand

Joined: Apr 15, 2006
Posts: 49
Well, I read this (but thanks).

I have a PHP background and there, if I wanted to see what is written to the session, I could view a session file (in folder specified in cfg).
I wondered, if I setup EHCache to overflow data to disk i could view similar file too. If so - when should I look for it?

regards
D.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate and 2-level cache