Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.2.1.6
-
None
Description
Working in DERBY-525, I found that jdbcapi/resultsetStream.java , which was originally excluded from DerbyNetClient Framework, fails, if added to.
Next is resultsetStream.diff :
------------------ Java Information ------------------
Java Version: 1.4.2_08
Java Vendor: Sun Microsystems Inc.
Java home: /usr/local/j2sdk1.4.2_08/jre
Java classpath: /home/naka/ProgramDev/derby/trunk/jars/sane/derby.jar
:/home/naka/ProgramDev/derby/trunk/jars/sane/derbyclient.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbytools.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbynet.jar:
/usr/local/share/java/db2jcc/lib/db2jcc.jar:
/usr/local/share/java/db2jcc/lib/db2jcc_license_c.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyTesting.jar:
/home/naka/ProgramDev/derby/trunk/tools/java/jakarta-oro-2.0.8.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_de_DE.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_es.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_fr.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_it.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_ja_JP.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_ko_KR.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_pt_BR.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_zh_CN.jar:
/home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_zh_TW.jar
OS name: Linux
OS architecture: i386
OS version: 2.4.27-2-386
Java user name: naka
Java user home: /home/naka
Java user dir: /home/naka/ProgramDev/testDerby/20051001
java.specification.name: Java Platform API Specification
java.specification.version: 1.4
--------- Derby Information --------
JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
[/home/naka/ProgramDev/derby/trunk/jars/sane/derby.jar] 10.2.0.0 alpha - (292740M)
[/home/naka/ProgramDev/derby/trunk/jars/sane/derbyclient.jar] 10.2.0.0 alpha - (292740M)
[/home/naka/ProgramDev/derby/trunk/jars/sane/derbytools.jar] 10.2.0.0 alpha - (292740M)
[/home/naka/ProgramDev/derby/trunk/jars/sane/derbynet.jar] 10.2.0.0 alpha - (292740M)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale : [English/United States [en_US]]
Found support for locale: [de_DE]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [es]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [fr]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [it]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [ja_JP]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [ko_KR]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [pt_BR]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [zh_CN]
version: 10.2.0.0 alpha - (292740M)
Found support for locale: [zh_TW]
version: 10.2.0.0 alpha - (292740M)
------------------------------------------------------
Framework: DerbyNetClient
-
-
- Start: resultsetStream jdk1.4.2_08 DerbyNetClient 2005-10-02 13:56:27 ***
8a9
> FAIL - stream was not closed after a get*() call. class java.io.ByteArrayInputStream
12 del
< EXPECTED SQLSTATE(XSDA4): An unexpected exception was thrown
13 del
< EXPECTED SQLSTATE(XJ001): Java exception: 'Input stream held less data than requested length.: java.io.IOException'.
14 del
< EXPECTED SQLSTATE(XSDA4): An unexpected exception was thrown
15 del
< EXPECTED SQLSTATE(XJ001): Java exception: 'Input stream held less data than requested length.: java.io.IOException'.
15a13,14
> EXPECTED SQLSTATE(null): End of Stream prematurely reached while reading InputStream, parameter #2. Remaining data has been padded with 0x0.
> EXPECTED SQLSTATE(null): The specified size of the InputStream, parameter #2, is less than the actual InputStream length
Test Failed. - End: resultsetStream jdk1.4.2_08 DerbyNetClient 2005-10-02 13:56:49 ***
- Start: resultsetStream jdk1.4.2_08 DerbyNetClient 2005-10-02 13:56:27 ***
-
Attachments
Issue Links
- is part of
-
DERBY-310 Document and/or change Derby client code to match behavior with Embedded driver where possible.
- Closed