db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TomohitoNakayama" <tomon...@basil.ocn.ne.jp>
Subject Re: [jira] Updated: (DERBY-397) Make it sure for the connection to be closed in drda.Database#close() even if Exception happens in conn.rollback().
Date Sat, 02 Jul 2005 13:22:26 GMT
Hi Kathey.

Thanks for the information about history between Cloudscape and Derby !

I think there may (and must) be more history that I should know in the 
future,
though this information is enough for me to think about now.

Best regards.


/*

         Tomohito Nakayama
         tomonaka@basil.ocn.ne.jp
         tomohito@rose.zero.ad.jp
         tmnk@apache.org

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "Kathey Marsden" <kmarsdenderby@sbcglobal.net>
To: "Derby Development" <derby-dev@db.apache.org>
Sent: Saturday, July 02, 2005 8:08 AM
Subject: Re: [jira] Updated: (DERBY-397) Make it sure for the connection to 
be closed in drda.Database#close() even if Exception happens in 
conn.rollback().


> TomohitoNakayama wrote:
>
>>
>> I have found next implementation in
>> org.apache.derby.impl.jdbc.EmbedConnection#close().
>>
>>   /* Throw error to match DB2/JDBC if a tran is pending in
>> non-autocommit mode */
>>   if (!autoCommit && !transactionIsIdle()) {
>>    throw newSQLException(SQLState.LANG_INVALID_TRANSACTION_STATE);
>>   }
>>
>> Are there any reason around compatibility with DB2 ?
>>
> Hi Tomohito,
>
> This DB2 compatibility work was done as a a part of a past project in
> Cloudscape before contribution to Apache.
> I think Kathy Saunders summed it up nicely in this email.
>
> http://mail-archives.apache.org/mod_mbox/db-derby-dev/200409.mbox/%3c414F1400.1030603@Source-Zone.com%3e
>
> Our current focus per our charter  is standards.  I am not sure if there
> is anything in the JDBC  standard about  calling close on a connection
> with an active transaction.
>
> I  hope that answers your question.
>
> Kathey
>
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 2005/07/01
>
> 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 2005/07/01


Mime
View raw message