-->
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 the hibernate reducing the hit rate to database
PostPosted: Tue Sep 15, 2009 2:27 am 
Newbie

Joined: Tue Sep 15, 2009 2:20 am
Posts: 1
Hi friends,

I am mallikarjuna. I am about to work with hibernate,
If any one knows that the hibernate how it works and how it is reducing the database hit rate.
How the hibernate having sinchronization with database.


please please give me answer.

thanks in advance.

regards,
Mallikarjun


Top
 Profile  
 
 Post subject: Re: how the hibernate reducing the hit rate to database
PostPosted: Tue Sep 15, 2009 8:17 am 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Well, for one, Hibernate chaches data until a transaction is comitted, so if a database row is requested multiple times, there won't be multiple hits, due to the cache.

Hibernate uses transaction isolation levels to sync to the database.

If you're getting started with Hibernate, please check out my tutorials through my signature links. You'll really enjoy working with Hibernate!

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


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.