You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Ramandeep Kaur (JIRA)" <de...@db.apache.org> on 2006/01/27 04:41:35 UTC

[jira] Created: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing

jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing 
-------------------------------------------------------------------------------------------------------

         Key: DERBY-880
         URL: http://issues.apache.org/jira/browse/DERBY-880
     Project: Derby
        Type: Test
  Components: Regression Test Failure  
    Versions: 10.1.2.2, 10.2.0.0    
 Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
    Reporter: Ramandeep Kaur


Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:

1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
 2. Set CLASSPATh to the jars in the above directories.
 3. Run suite derbynetclientmats by giving the following command:-
 java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats

Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> FAIL -- unexpected exception
> SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> java.sql.SQLException: Stream of column value in result cannot be retrieved twice
Test Failed.

Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-880?page=all ]

Andrew McIntyre updated DERBY-880:
----------------------------------

    Fix Version: 10.1.4.0
                     (was: 10.1.2.5)

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Test

>   Components: Network Client
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>      Fix For: 10.1.4.0
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-880?page=comments#action_12364617 ] 

Kathey Marsden commented on DERBY-880:
--------------------------------------

Thanks Dan,

It sounds like the best thing to do   is to fix up the 10.1 test  to do the right thing and document in the release notes as a change that might affect existing applications.

Does that sound correct?



> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure, Network Client
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>     Priority: Critical
>      Fix For: 10.2.0.0
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing

Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-880?page=comments#action_12364178 ] 

Kathey Marsden commented on DERBY-880:
--------------------------------------

Looking at the svn log, It looks like this error was added in DERBY-721

r357435 | tmnk | 2005-12-17 21:15:39 -0800 (Sat, 17 Dec 2005) | 1 line

- DERBY-721_4  - State of InputStream retrieved from resultset is not clean , if
 there exists previous InputStream . Patch to throw exception if user get stream
 for a value in result set twice . by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp)


The test was returning results but now throws this error when combining 10.2 client with 10.1 server, so at first glance looks like a regression.





> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing
> ------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Test
>   Components: Regression Test Failure
>     Versions: 10.1.2.2, 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kathey Marsden closed DERBY-880.
--------------------------------

    Resolution: Invalid

Comments indicate that this is an expected failure due to DERBY-721 change.

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-880
>                 URL: https://issues.apache.org/jira/browse/DERBY-880
>             Project: Derby
>          Issue Type: Test
>          Components: Network Client
>    Affects Versions: 10.2.1.6
>         Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>            Reporter: Ramandeep Kaur
>         Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

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


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Rajesh Kartha (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-880?page=all ]

Rajesh Kartha updated DERBY-880:
--------------------------------

           type: Test  (was: Bug)
    Fix Version: 10.1.2.3
                     (was: 10.2.0.0)
       Priority: Major  (was: Critical)

- Changing the priority from 'Critical' to 'Medium'.
- Since the tests in 10.1 branch needs to be updated, the fix verison should also reflect that - 10.1.2.3

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Test
>   Components: Regression Test Failure, Network Client
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>      Fix For: 10.1.2.3
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing

Posted by "Ramandeep Kaur (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-880?page=all ]

Ramandeep Kaur updated DERBY-880:
---------------------------------

    Attachment: connectionJdbc20.diff
                connectionJdbc20.tmp
                connectionJdbc20.tmpmstr

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing
> ------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Test
>   Components: Regression Test Failure
>     Versions: 10.1.2.2, 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-880?page=all ]

Andrew McIntyre updated DERBY-880:
----------------------------------

    Fix Version: 10.1.2.4
                     (was: 10.1.2.3)

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Test
>   Components: Network Client
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>      Fix For: 10.1.2.4
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-880?page=all ]

Kathey Marsden updated DERBY-880:
---------------------------------

      Component: Network Client
        Summary: jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice   (was: jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing)
           type: Bug  (was: Test)
    Fix Version: 10.2.0.0
        Version:     (was: 10.1.2.2)
       Priority: Critical  (was: Major)

Marking this as a regression as it appears to be a serious failure where the tests expects results and gets:
> SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice 


> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice 
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Bug
>   Components: Network Client, Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>     Priority: Critical
>      Fix For: 10.2.0.0
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-880?page=all ]

Kathey Marsden updated DERBY-880:
---------------------------------

    Component:     (was: Regression Test Failure)

Removing this from :"Regression Test Failure". Dan pointed out that this is probably an intended behaviour change from DERBY-721.  Still the test should be fixed as soon as possible to verify that that is the case and this issue left open until it has been verified.


> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Test
>   Components: Network Client
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>      Fix For: 10.1.2.3
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Andrew McIntyre (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew McIntyre updated DERBY-880:
----------------------------------

    Fix Version/s:     (was: 10.1.4.0)

Unsetting Fix Version on Unassigned issues. Sending mail for these because these should be reviewed to see if they are still valid issues.

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-880
>                 URL: https://issues.apache.org/jira/browse/DERBY-880
>             Project: Derby
>          Issue Type: Test
>          Components: Network Client
>    Affects Versions: 10.2.1.6
>         Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>            Reporter: Ramandeep Kaur
>         Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

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


[jira] Updated: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-880?page=all ]

Andrew McIntyre updated DERBY-880:
----------------------------------

    Fix Version: 10.1.2.5
                     (was: 10.1.2.4)

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Test

>   Components: Network Client
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>      Fix For: 10.1.2.5
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (DERBY-880) jdbcapi/connectionJdbc20.java fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-880?page=comments#action_12364615 ] 

Daniel John Debrunner commented on DERBY-880:
---------------------------------------------

I don't think this is a regression. Yes, previously you could call getXXXStream() in embedded twice on the column to read the stream twice, but the second read returned the wrong results. Look at the comments et c. in DERBY-721.

The change was  discussed on the list, the JDBC spec says portable code should only read a column once.

So now we have getXXXStream(0 calls which can only be called once, and thus always return the correct results.

Any applications depending on the old behaviour are returning the worng results ot their users.

> jdbcapi/connectionJdbc20.java  fails for server (10.1.2.2) and client (10.2.0.0) compatibility testing with > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-880
>          URL: http://issues.apache.org/jira/browse/DERBY-880
>      Project: Derby
>         Type: Bug
>   Components: Regression Test Failure, Network Client
>     Versions: 10.2.0.0
>  Environment: OS: Windows 2000, Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15
>     Reporter: Ramandeep Kaur
>     Priority: Critical
>      Fix For: 10.2.0.0
>  Attachments: connectionJdbc20.diff, connectionJdbc20.tmp, connectionJdbc20.tmpmstr
>
> Ran derby suite "derbynetclientmats" with Server: 10.1.2.2 (372412), Client: 10.2.0.0(37212), Testing: 10.1.2.2 (372412), jvm: sun jdk15 as following:
> 1. Create directories for  10.1.2.2 jar files (all jar files except derbyclient.jar) and 10.2.0.0 jars files (only derbyClient.jar).
>  2. Set CLASSPATh to the jars in the above directories.
>  3. Run suite derbynetclientmats by giving the following command:-
>  java org.apache.derbyTesting.functionTests.harness.RunSuite derbynetclientmats
> Test case jdbcapi/connectionJdbc20.java failed with following exception:-
> > FAIL -- unexpected exception
> > SQLSTATE(null): java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> > java.sql.SQLException: Stream of column value in result cannot be retrieved twice
> Test Failed.
> Attaching diff, tmp, and tmpstr.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira