db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1045) forupdate.sql , holdCursorIJ.sql ..etc are failing when run with 10.1 client againest trunk
Date Mon, 27 Feb 2006 08:04:57 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1045?page=comments#action_12367912 ] 

Knut Anders Hatlen commented on DERBY-1045:
-------------------------------------------

You are not testing version 10.1 of the client driver, but version
10.2 against master files from the 10.1 branch.

derbytools.jar will automatically put derbyclient.jar in the
classpath. Since you have derbytools.jar from trunk before
derbyclient.jar version 10.1 in your classpath, derbyclient.jar will
be shadowed. Sysinfo will however report that you are using the 10.1
version of derbyclient.jar, since it only sees the CLASSPATH variable.


% export CLASSPATH=$derby102/derbytools.jar:$derby101/derbyclient.jar
% java org.apache.derby.tools.ij
ij version 10.2
ij> connect 'jdbc:derby://localhost/mydb;create=true;traceFile=trace.out';
ij> 
% grep Driver trace.out
[derby] Driver: Apache Derby Network Client JDBC Driver 10.2.0.0 alpha - (381279)
[derby][Connection@9173ef] Driver name: Apache Derby Network Client JDBC Driver
[derby][Connection@9173ef] Driver version: 10.2.0.0 alpha
% java org.apache.derby.tools.sysinfo
------------------ Java Information ------------------
Java Version:    1.5.0_06
Java Vendor:     Sun Microsystems Inc.
Java home:       /usr/jdk/instances/jdk1.5.0/jre
Java classpath:  /export/home/kh160127/derby/trunk/jars/sane/derbytools.jar:/export/home/kh160127/derby/10.1/jars/sane/derbyclient.jar
OS name:         SunOS
OS architecture: x86
OS version:      5.10
Java user name:  kh160127
Java user home:  /home/kh160127
Java user dir:   /home/kh160127/tmp
java.specification.name: Java Platform API Specification
java.specification.version: 1.5
--------- Derby Information --------
JRE - JDBC: J2SE 5.0 - JDBC 3.0
[/export/home/kh160127/derby/trunk/jars/sane/derbytools.jar] 10.2.0.0 alpha - (381279)
[/export/home/kh160127/derby/10.1/jars/sane/derbyclient.jar] 10.1.2.3 - (381279M)
------------------------------------------------------
----------------- Locale Information -----------------

[....]

> forupdate.sql , holdCursorIJ.sql ..etc are failing when run with 10.1 client againest
trunk
> -------------------------------------------------------------------------------------------
>
>          Key: DERBY-1045
>          URL: http://issues.apache.org/jira/browse/DERBY-1045
>      Project: Derby
>         Type: Bug
>     Versions: 10.2.0.0
>  Environment: Java Version:    1.5.0_02
> Java Vendor:     Sun Microsystems Inc.
> Java home:       d:\dev\src\jdk15\jre
> Java classpath:  d:/dev/src/classes/derby.jar;d:/dev/src/classes/derbytools.jar;d:/dev/src/classes/derbynet.jar;d:/dev/src/classes/v10_1_client/derbyclient.jar;d:/dev/src/classes/functionTests.jar;d:/dev/src/classes/v10_1_client/derbyTesting.jar;d:/dev/src/tools/java/jndi/fscontext.jar;d:/dev/src/tools/java/junit.jar;d:/dev/src/classes/derbyLocale_zh_TW.jar;d:/dev/src/classes/derbyLocale_zh_CN.jar;d:/dev/src/classes/derbyLocale_pt_BR.jar;d:/dev/src/classes/derbyLocale_ko_KR.jar;d:/dev/src/classes/derbyLocale_ja_JP.jar;d:/dev/src/classes/derbyLocale_it.jar;d:/dev/src/classes/derbyLocale_fr.jar;d:/dev/src/classes/derbyLocale_es.jar;d:/dev/src/classes/derbyLocale_de_DE.jar;
> OS name:         Windows 2000
> OS architecture: x86
> OS version:      5.0
> Java user dir:   D:\dev\src\JarResults.2006-02-22\jdk15_derbynetclientmats_client_v101
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [D:\dev\src\classes\derby.jar] 10.2.0.0 alpha - (380027)
> [D:\dev\src\classes\derbytools.jar] 10.2.0.0 alpha - (380027)
> [D:\dev\src\classes\derbynet.jar] 10.2.0.0 alpha - (380027)
> [D:\dev\src\classes\v10_1_client\derbyclient.jar] 10.1.2.3 - (379660)
>     Reporter: Suresh Thalamati
>  Attachments: derbynetclientmats_report.txt
>
>     derbynetclientmats/derbynetmats/derbynetmats.fail:lang/forupdate.sql
>     derbynetclientmats/derbynetmats/derbynetmats.fail:lang/holdCursorIJ.sql
>     derbynetclientmats/derbynetmats/derbynetmats.fail:store/holdCursorJDBC30.sql
>     derbynetclientmats/derbynetmats/derbynetmats.fail:jdbcapi/LOBTest.java
>     derbynetclientmats/derbynetmats/derbynetmats.fail:jdbcapi/blobclob4BLOB.java
>     derbynetclientmats/derbynetmats/derbynetmats.fail:jdbcapi/parameterMapping.java
>     derbynetclientmats/derbynetmats/derbynetmats.fail:jdbcapi/setTransactionIsolation.java
>     derbynetclientmats/derbynetmats/derbynetmats.fail:jdbcapi/metadataJdbc20.java
>     derbynetclientmats/derbynetmats/derbynetmats.fail:jdbcapi/connectionJdbc20.java
> Sample diff :
> *** Start: forupdate jdk1.5.0_02 DerbyNetClient derbynetmats:derbynetmats 2006-02-23
07:30:19 ***
> 23 del
> < ERROR 42X01: Syntax error: Encountered "<EOF>" at line 1, column 23.
> 23a23
> > ERROR 42X01: Syntax error: Encountered "<EOF>" at line 3, column 23.
> 59 del
> < ERROR (no SQLState): Invalid cursor name "C1" in the Update/Delete statement.
> 59a59
> > ERROR 42X30: Cursor 'SQL_CURLH000C1' not found. Verify that autocommit is OFF.
> 132 del
> < ERROR (no SQLState): Invalid cursor name "C4" in the Update/Delete statement.
> 132a132
> > ERROR 42X30: Cursor 'SQL_CURLH000C1' not found. Verify that autocommit is OFF.
> 135 del
> < ERROR (no SQLState): Invalid cursor name "C4" in the Update/Delete statement.
> 135a135
> > ERROR 42X30: Cursor 'SQL_CURLH000C1' not found. Verify that autocommit is OFF.
> 180 del
> < ERROR 42X01: Syntax error: Encountered "." at line 1, column 34.
> 180a180
> > ERROR 42X01: Syntax error: Encountered "." at line 3, column 34.
> Test Failed.
> *** End:   forupdate jdk1.5.0_02 DerbyNetClient derbynetmats:derbynetmats 2006

-- 
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


Mime
View raw message