aspose file tools*
The moose likes Object Relational Mapping and the fly likes Caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Caching" Watch "Caching" New topic
Author

Caching

Tayal Rohit
Greenhorn

Joined: Feb 18, 2005
Posts: 12
How we can implement Caching of data using Hibernate 3 ?

Example will be good to help.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

Have a look at:
Caching in Hibernate


[My Blog] [JavaRanch Journal]
Orem Hun
Greenhorn

Joined: May 24, 2005
Posts: 28
Hibernate 3.x default functionality supports transaction level caching. For second-level caching (process or cluster-scope) you would have to use another cache provider such as EHCache or JBoss cache. You have to brainstorm first whether you really need second-level cache. I recommend Gavin King, Christian Bauer's book: Java Persistence API, which has one full section on Hibernate caching with examples.
Tayal Rohit
Greenhorn

Joined: Feb 18, 2005
Posts: 12
thanks a lot.

and whats the major lazy loading?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Caching