-->
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: Nested transaction
PostPosted: Mon Aug 28, 2006 1:02 pm 
Newbie

Joined: Tue Aug 01, 2006 7:37 pm
Posts: 7
I need to use nested transaction in my application, what kind of setting in hibernate.cfg.xml is good for this purpose? Is there any potential problem I need to be awared of? I am using <property name="hibernate.current_session_context_class">org.hibernate.context.ThreadLocalSessionContext</property> in the configuration file, will this setting conflict with Nested transaction?

If anyone has enperience to use nested transaction, can you please share a piece of your code?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 2:27 pm 
Beginner
Beginner

Joined: Tue Aug 08, 2006 11:53 am
Posts: 37
If your application is deployed in J2EE app server and planning to leverage the JTA, then understand that nested transactions are not supporeted as per J2EE spec.

Pls rate if the answer helped you!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 28, 2006 9:16 pm 
Newbie

Joined: Tue Aug 01, 2006 7:37 pm
Posts: 7
My Application is not using J2EE app server.


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.