wood burning stoves
The moose likes Object Relational Mapping and the fly likes Hibernate caching issue 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 caching issue" Watch "Hibernate caching issue" New topic

Hibernate caching issue

bharath pawan

Joined: Jan 25, 2007
Posts: 11
Hi guys,

I am facing a problem while implementing hibernate caching.Actually when i try to cache my pojo,

1.Caching file is externally getting created with no content(empty file).
2.Caching is not happening.

I am using hibernate annotations for caching(@proxy),enabled second level cache in my cfg and also i created eHcache.xml with the proper information.

Please help me to overcome this issue....
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3902

When you say it's not happening how you decide/test that? You may need to tell more details about it (TellTheDetails).

[How to ask questions] [Twitter]
bharath pawan

Joined: Jan 25, 2007
Posts: 11
Hi Vijitha,

Thanks for your reply....

As per my problem,caching files are getting created with no content..Hence caching is not happening...

Do you know what may be the problem?I dont have any error to post..

I agree. Here's the link: http://aspose.com/file-tools
subject: Hibernate caching issue
It's not a secret anymore!