-->
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.  [ 3 posts ] 
Author Message
 Post subject: Transaction management
PostPosted: Wed May 10, 2006 6:15 pm 
Beginner
Beginner

Joined: Mon Feb 13, 2006 8:34 pm
Posts: 27
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.0

1. What are the types of transaction management within hibernate. Is each hibernate transaction always executed within context of active database transaction. Does maybe exist sth like optimistic concurrency control.s
2. What transactions isolation levels is it possible to set?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 10, 2006 8:44 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
HIbernate will use the underlying transaction manager that you have configured. Isolation levels are JDBC/Database determined - again outside of hibernate so it will just use it as you have configured it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 11, 2006 5:42 am 
Beginner
Beginner

Joined: Mon Feb 13, 2006 8:34 pm
Posts: 27
So anything is done within hibernate transaction is done within active SQL transaction? Begin and commit(rollback) of hibernate transacion exacly refer to begin and commit of SQL transaction in the underlying database. (or maybe SQL transaction is begun atfter hibernate transaction is committed to update all changes that were made to persistent objects?)
thx for explanations once again...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.