This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 3899

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Hibernate caching issue
It's not a secret anymore!