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: JTA Transaction durable between HTTP client requests
PostPosted: Thu Jun 08, 2006 12:24 am 
Newbie

Joined: Thu Jun 08, 2006 12:10 am
Posts: 3
Location: São Paulo/Brazil
Hello,

This is the first time I am writting to this topic. I am using hibernate 3.0 with oracle 9i and 10g, running integrated with Spring on an Apache 5.0 web server.
I need to keep a transaction open between client requests. I have a "wizard like" screen on my application that perform several writtes to the database. However, if the user press the cancel button, everything should be rolled back.
I was looking for ways of doing that and I found this article: http://www.hibernate.org/42.html . The article is great (and the patterns seem very useful), as it describes how to keep a session per conversasion.
However, in my specific case, this is not an solution. I really need to NOT CLOSE the conection to the database (or databases) and not to commit or rollback the jta transaction until the user has made several http requests and pressed the "commit everything" button.
I was wondering if is it possible to have a solution for this. Is there a way of doing that? Any answer would be very appreciated.

Thanks in advance,
Marcelo.

_________________
gtalk: mvallebr at gmail.com


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.