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.