-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How does Hibernate Cache
PostPosted: Tue Feb 10, 2004 8:43 am 
Newbie

Joined: Thu Feb 05, 2004 5:42 pm
Posts: 3
Are there any articles out there describing how Hibernate does Caching? Or are there different parameters to turn caching on/off.

I am trying to understand how/when Hibernate knows when to go back to the database for reads versus how it knows when it can just return cached information.

In my example, I always see it issuing the select statements.

For example some app servers provide a flag to set isDBShareable for some of the persistent objects. That way it knows if the object was not changed in the current JVM, then it does not have to re-read the database. Obviously this would not work for clustering, etc... but this was just an example.

Thanks
Bill


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 10, 2004 8:47 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
http://www.hibernate.org/hib_docs/reference/html/performance.html#performance-s3


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.