db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik" <Dag.Wan...@Sun.COM>
Subject [PATCH] (Derby-611) Network client: updateRow() causes a commit when autoCommit = true
Date Tue, 13 Dec 2005 01:18:39 GMT

Hi,

I have a made patch for this, can somebody have a look at it, please?

>From the JIRA:

"I have uploaded a fix for this problem (611.{stat,diff}), and added a
new test (look for "Positive Test34") to lang/updatableResultSet.java.
The network client driver canons are also changed in the case of three
error messages due to the changed behavior, in addition to the change
due to new test.

The patch removes the explicit (auto)commit code in the network client
driver in deleteRow and updateRow, making it behave as the embedded
driver in this respect (modulo error messages).

I have run lang/updatableResultSet.java successfully with Sun jdk 1.3,
1.4 and 1.5 (the two latter have another canon) on Solaris
10/x86. Also, there is a separate canon under j9_13 for this test,
which I have updated, but not been able to test.

I have also run derbyall successfully with jdk 1.4, also on Solaris
10/x86, albeit with some errors in unrelated tests (lang/dcl,
store/OnlineBackupTest1.java)"

Thanks,

Dag

Mime
View raw message