-->
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: Does Hibernate support nested transactions?
PostPosted: Fri Jun 17, 2005 2:37 am 
Newbie

Joined: Fri Jun 17, 2005 2:17 am
Posts: 5
Does hibernate support nested transactions? If so can you please guide me how to do it?


Top
 Profile  
 
 Post subject: You, you can have nested transactions.
PostPosted: Fri Jun 17, 2005 3:17 am 
Newbie

Joined: Wed Jun 08, 2005 3:15 am
Posts: 5
Hi

Nested Transactions applies to JDBC more than to Hibernate Session. So which version of JDBC that you are using matters for this nested transactions.




In JDBC 3.0, the transaction manager supports nested transactions via JDBC 3.0 Savepoints. The "nestedTransactionAllowed" flag defaults to false, though, as nested transactions will just apply to the JDBC Connection, not to the Hibernate Session and its cached objects. You can manually set the flag to true if you want to use nested transactions for JDBC access code that participates in Hibernate transactions (provided that your JDBC driver supports Savepoints).




for more visit the link.
http://www.springframework.org/docs/api ... nager.html


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.