|
Knut Anders Hatlen made changes - 05/Mar/08 12:21 PM
If the CallableStatement is closed before the isolation level is changed, it works in embedded mode, but it still fails the same way in client/server mode.
Knut Anders Hatlen made changes - 05/Mar/08 12:27 PM
Adding 10.3.2.2 and 10.4.0.0 as fix versions as it looks like a candidate for merging to 10.3
Dyre Tjeldvoll made changes - 07/Mar/08 11:00 AM
Dyre Tjeldvoll made changes - 19/Mar/08 03:48 PM
Attaching derby-3496.diff which incorporates the new test case attached earlier.
Dyre Tjeldvoll made changes - 20/Mar/08 02:36 PM
Dyre Tjeldvoll made changes - 20/Mar/08 02:37 PM
The fix looks correct to me, but the new line in EmbedCallableStatement is not indented correctly (probably due to incorrect tab size setting in your IDE).
Committed revision 640787.
I did fix the indentation problem before committing. The "IDE" in question is 'vi'. :set hardtabs=4 (perhaps followed by :set autoindent) appears to be the magic words.
Dyre Tjeldvoll made changes - 25/Mar/08 12:40 PM
Dyre Tjeldvoll made changes - 25/Mar/08 12:40 PM
Need to merge it to release branch
Dyre Tjeldvoll made changes - 25/Mar/08 12:42 PM
Merged to 10.4 in revision 640801.
Merged to 10.3 with revision 640808.
Dyre Tjeldvoll made changes - 25/Mar/08 01:38 PM
Knut Anders Hatlen made changes - 27/May/08 04:17 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
$ java junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.jdbcapi.CallableTest
....E.............E.........
Time: 6.071
There were 2 errors:
1) testIsolationLevelChangeAfterFunctionCall(org.apache.derbyTesting.functionTests.tests.jdbcapi.CallableTest)java.sql.SQLException: Invalid transaction state - held cursor requires same isolation level
....
2) testIsolationLevelChangeAfterFunctionCall(org.apache.derbyTesting.functionTests.tests.jdbcapi.CallableTest)java.sql.SQLException: Invalid transaction state - held cursor requires same isolation level
....