When I use Hibernate session for long duration transactions, Can I
disconnect the SQL
connection from the session without committing and reconnect again when I
need. And finally
will commit the transaction after all the actions with the system. I will
rollback If I get any problems
in the transaction. Is this possible?

-dosapati

----- Original Message -----
From: "Christian Bauer" <[EMAIL PROTECTED]>
To: "dosapati" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 18, 2003 12:50 AM
Subject: Re: [Hibernate] long duration transactions


> On 18 Nov (00:17), dosapati wrote:
>
> > Is it possible to use Hibernate in long duration transactions. Where the
transaction
> > can be across user interactions with the system. Can span minutes, days
or months.
> > How can I use Hibernate session for this purpose? Do I need any
additional software
> > for this in addition to Hibernate?
>
> Of course. Hibernate supports versioning/timestamps for long optimistic
> units of work. Read the documentation. If you are talking about long
> database transactions: This is not much different to all the issues that
> might arise without Hibernate and long database
> connections/transactions.
>
> --
> Christian Bauer
> [EMAIL PROTECTED]
>
>
> -------------------------------------------------------
> This SF. Net email is sponsored by: GoToMyPC
> GoToMyPC is the fast, easy and secure way to access your computer from
> any Web browser or wireless device. Click here to Try it Free!
> https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
> _______________________________________________
> hibernate-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hibernate-devel



-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to