[
https://issues.apache.org/jira/browse/DERBY-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600576#action_12600576
]
Mamta A. Satoor commented on DERBY-1848:
----------------------------------------
I just wanted to note the fact that this issue seems specific to J2ME
implementation (I have only tested using IBM's J2ME implementation weme6.1).
The same test program after repeated executions (I tried about 30 times) with
IBM jdks 1.5 and 1.4 does not fail.
> jdbcapi/SetQueryTimeoutTest.java fails on IBM wctme 5.7
> --------------------------------------------------------
>
> Key: DERBY-1848
> URL: https://issues.apache.org/jira/browse/DERBY-1848
> Project: Derby
> Issue Type: Test
> Components: Regression Test Failure
> Affects Versions: 10.2.2.1, 10.3.1.4, 10.5.0.0
> Environment: Windows
> Reporter: Rajesh Kartha
> Assignee: Mamta A. Satoor
> Attachments: DERBY_1848_Repro.java, DERBY_1848_Repro.java
>
>
> The following is the diff:
> *** Start: SetQueryTimeoutTest jdk1.3.1 subset - 2.2 derbyall:jdbcapi
> 2006-09-10 11:07:05 ***
> 7 del
> < Statement 1 completed
> 8 del
> < Statement 2 completed
> 9 del
> < Statement 3 completed
> 10 del
> < Testing timeout with an execute operation
> 11 del
> < Statements that should time out timed out, and statements that should
> complete completed
> 12 del
> < Testing setting a negative timeout value
> 13 del
> < Negative timeout value caused exception, as expected
> 14 del
> < Execute returned a ResultSet
> 15 del
> < Testing that Statement remembers timeout.
> 16 del
> < Testing that PreparedStatement remembers timeout.
> 17 del
> < Testing that CallableStatement remembers timeout.
> 18 del
> < Testing timeout with executeUpdate call.
> 19 del
> < Test SetQueryTimeoutTest PASSED
> 19a7,11
> > Test SetQueryTimeoutTest FAILED
> > org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest$TestFailedException:
> > Unexpected exception in 1: java.sql.SQLException: The statement has been
> > cancelled or timed out.
> > ERROR XCL52: The statement has been cancelled or timed out.
> > java.sql.SQLException: Invalid transaction state.
> > java.sql.SQLException: Invalid transaction state.
> Test Failed.
> *** End: SetQueryTimeoutTest jdk1.3.1 subset - 2.2 derbyall:jdbcapi
> 2006-09-10 11:07:26 ***
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.