Deepa Remesh (JIRA) wrote:
>
>
>I merged this patch to my 10.1 codeline and ran derbyall with Sun jdk 1.4.2 on
>Windows XP. 2 tests failed. Failures are not related to this change.
>
>
>
I applied the merge command for 10.1 and ran lang/holdCursorJava.java
and see this exception at the bottom of the output for both derbynet and
derbynetclient frameworks. The output up to that point is ok. Does
this look familar at all?
Switch isolation while there are open cursor
Should see exceptions
ERROR X0X03: Invalid transaction state - held cursor requires same
isolation le
vel
PASS: Can't change isolation if they are open cursor
Isolation level change test over
FAIL -- unexpected exception org.apache.derby.client.am.SqlException:
java.sql.
Connection.close() requested while a transaction is in progress on the
connecti
on.The transaction remains active, and the connection cannot be closed.
ERROR (no SQLState): java.sql.Connection.close() requested while a
transaction
is in progress on the connection.The transaction remains active, and the
connec
tion cannot be closed.
org.apache.derby.client.am.SqlException: java.sql.Connection.close()
requested
while a transaction is in progress on the connection.The transaction
remains ac
tive, and the connection cannot be closed.
at
org.apache.derby.client.am.Connection.checkForTransactionInProgress(
Unknown Source)
at org.apache.derby.client.am.Connection.closeResourcesX(Unknown
Source
)
at org.apache.derby.client.am.Connection.closeX(Unknown Source)
at org.apache.derby.client.am.Connection.close(Unknown Source)
at
org.apache.derbyTesting.functionTests.tests.lang.holdCursorJava.main
(holdCursorJava.java:59)