-->
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.  [ 1 post ] 
Author Message
 Post subject: [CMT] Several transactions in same session ?
PostPosted: Tue May 30, 2006 9:03 am 
Beginner
Beginner

Joined: Tue May 09, 2006 2:30 am
Posts: 22
Hi

I wonder if it's possible to make several transaction in same session while in CMT ?
All hibernate documentation I read make me think yes, but :

- It seems that getting Hibernate Session with SessionFactory.getCurrentSession() make the session to close after commit
- All tests I wrote with CMT or simply JTA shows problem when a transaction roolback and the next commit in the same session : both are commited (see http://forum.hibernate.org/viewtopic.php?t=959171 for code).

Can anyone help me ?

Hibernate version:
3.1.3

Name and version of the database you are using:
PostgreSQL, version: 8.1.3

EJB Container
Jonas 4.7.4

regards

_________________
--
Celine


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.