A B (JIRA) wrote:

[ http://issues.apache.org/jira/browse/DERBY-1108?page=comments#action_12416921 ]
A B commented on DERBY-1108:
----------------------------


3) The test is not ok.
To test what it wants to test, that we can't change the isolation in the middle 
of retrieving results on a
held cursor, it should have code to use rs after setTransactionIsolation, e.g. 
add an
rs.next() after setTransactionIsolation()

Does that sound right?

Sounds goods to me.

The test jdbcapi/setTransactionIsolation.java fails with ibm jvm1.5
-------------------------------------------------------------------

        Key: DERBY-1108
        URL: http://issues.apache.org/jira/browse/DERBY-1108
    Project: Derby
       Type: Bug

 Components: Regression Test Failure
   Versions: 10.2.0.0
Environment: java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pwi32dev-20051104)
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Windows XP x86-32 j9vmwi3223-2005110
3 (JIT enabled)
J9VM - 20051027_03723_lHdSMR
JIT  - 20051027_1437_r8
GC   - 20051020_AA)
JCL  - 20051102
   Reporter: Manjula Kutty
Attachments: test.java

The test  jdbcapi/setTransactionIsolation.java fails with ibmjvm15.  I think 
the cause of this failure is , the jvm is not throwing an exception while 
trying to change the transaction isolation when there is holdable cursor on  a 
resultset. Other jvms like sun jdk1.5, ibm142 throws the expected exception. 
while ibm15 does allow to change the transaction isolation when there is a hold 
cursor on a result set.
Already reported this issue with the ibmjvm people and they are looking in to it

Hi,

I'm just curious to know that , then why the test was passing without any problem on Sun Jdk1.5?

Thanks
Manjula

Reply via email to