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
|