File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate and 2-level cache" Watch "Hibernate and 2-level cache" New topic

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?

I agree. Here's the link:
subject: Hibernate and 2-level cache
jQuery in Action, 3rd edition