db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2770) testBlobAfterCommit(....jdbcapi.BlobClob4BlobTest) fails with 'Unexpected SQL state. expected:<XJ[073]> but was:<XJ[215]>'
Date Wed, 06 Jun 2007 14:44:25 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kristian Waagan updated DERBY-2770:

    Attachment: derby-2770-1a.diff

'derby-2770-1a.diff' changes the BlobClob4Blob test to not fail. The test failed because the
SQL state was changed, possibly the location where the error checking is done changed.

As part of looking into this issue I discovered that the client reports another SQLState when
accessing Blobs after commit, see DERBY-2771.

I request a review from someone familiar with Blob and locators in the client for this patch.
After applying the patch, BlobClob4Blob runs without failures.

As the changes is in the test only and basically localized to one test method, I'm committing
the preliminary patch now to stop the tests from failing. It can easily be reverted, and I
believe the test has to change anyway if/when DERBY-2771 is addressed.

> testBlobAfterCommit(....jdbcapi.BlobClob4BlobTest) fails with 'Unexpected SQL state.
expected:<XJ[073]> but was:<XJ[215]>'
> --------------------------------------------------------------------------------------------------------------------------
>                 Key: DERBY-2770
>                 URL: https://issues.apache.org/jira/browse/DERBY-2770
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions:
>         Environment: OS: Solaris 10 6/06 s10x_u2wos_09a X86 64bits - SunOS 5.10 Generic_118855-14
> JVM: Sun Microsystems Inc. 1.6.0_01-b06
>            Reporter: Ole Solberg
>            Priority: Minor
>         Attachments: derby-2770-1a.diff
> testBlobAfterCommit(org.apache.derbyTesting.functionTests.tests.jdbcapi.BlobClob4BlobTest)junit.framework.ComparisonFailure:
Unexpected SQL state. expected:<XJ[073]> but was:<XJ[215]>
> after 
> r544777 / DERBY-2729
> See http://dbtg.thresher.com/derby/test/tinderbox_trunk16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/544778-org.apache.derbyTesting.functionTests.suites.All_diff.txt

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message