-->
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: bind in JTASessionContext
PostPosted: Mon May 15, 2006 4:38 pm 
Newbie

Joined: Fri Apr 21, 2006 10:49 am
Posts: 18
Hibernate version:3.1.3
Is there any reason why JTASessionContext does not implement a bind and unbind method the same way that ThreadLocalSessionContext does?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 11:20 am 
Newbie

Joined: Fri Apr 21, 2006 10:49 am
Posts: 18
I have been looking at the JTASessionContext implementation and it uses a map of (transaction, session). It will be a map of all transactions for the different threads. If I want to manipulate the map and bind and unbind a specific session to the transaction (for long conversations) I need to get a handle to the instantiated JTASessionContext of the specific SessionFactory.
Can I obtain handle to that object?
Is there a good reason not to be doing any of this?
Is there a reason not to use JTASessionContext for long conversations?


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.