aspose file tools
The moose likes Object Relational Mapping and the fly likes Caching Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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: 8147
    
  52

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Caching
 
Similar Threads
Hyperlink to Servlet
I need help on developing login/logout application using struts2 frame work
When JSP page is compiled?
Strange Browser problem
Session Management problem in Struts