db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oystein.Grov...@Sun.COM (Øystein Grøvlen)
Subject Re: [jira] Commented: (DERBY-273) The derbynet/dataSourcePermissions_net.java test fails intermittently
Date Thu, 09 Jun 2005 08:10:09 GMT
>>>>> "KM" == Kathey Marsden <kmarsdenderby@sbcglobal.net> writes:

    KM> Just a bit of history.

    KM> It used to be with Cloudscape that you could close a connection without
    KM> rolling back. The rollback would be automatic.
    KM> In Derby you have to do an explicit rollback before closing the
    KM> connection if  there is a transaction.  That is why the rollback is
    KM> there in Database.close().

What happens to the transaction if you don't terminate it (rollback or
commit) before closing the connection?  Will it just hang forever?


View raw message