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
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Naka
http://www5.ocn.ne.jp/~tomohito/TopPage.html
*/
----- Original Message -----
From: "Kathey Marsden" <[EMAIL PROTECTED]>
To: "Derby Development" <[email protected]>
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/[EMAIL
PROTECTED]
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