aspose file tools*
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
Author

Hibernate caching issue

bharath pawan
Greenhorn

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
Bartender

Joined: Mar 24, 2008
Posts: 3829

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


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
bharath pawan
Greenhorn

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..

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate caching issue