-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
5.0
-
sparc
-
solaris_2.6
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2080091 | 5.0 | Amit Handa | P3 | Closed | Cannot Reproduce | |
JDK-2080090 | 1.0 | Amit Handa | P3 | Closed | Cannot Reproduce |
Name: ssR10000 Date: 02/09/2004
Filed By : SPB JCK team (###@###.###)
JDK :
JCK : 1.5
Platform[s] : Solaris
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : N/A
Problem description
===================
This class is very similar to the SerialBlob so points 1,3,4 from 4991002 suitable for SerialClob.
In addition:
1. Following methods:
===========================================================
/**
* Retrieves a stream to be used to write Ascii characters to the
* <code>CLOB</code> value that this <code>Clob</code> object represents,
* starting at position <code>pos</code>.
*/
public java.io.OutputStream setAsciiStream(long pos) throws SerialException {
ByteArrayOutputStream baoStream = new ByteArrayOutputStream((int)pos);
return (java.io.OutputStream)baoStream;
}
/**
* Retrieves a stream to be used to write a stream of Unicode characters
* to the <code>CLOB</code> value that this <code>Clob</code> object
* represents, at position <code>pos</code>.
*/
public java.io.Writer setCharacterStream(long pos) throws SerialException {
CharArrayWriter caWriter = new CharArrayWriter((int)pos);
return (java.io.Writer)caWriter;
}
===========================================================
return something that CANNOT be used to write to current SerialClob object.
======================================================================
Filed By : SPB JCK team (###@###.###)
JDK :
JCK : 1.5
Platform[s] : Solaris
switch/Mode :
JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
Failing Test [s] : N/A
Problem description
===================
This class is very similar to the SerialBlob so points 1,3,4 from 4991002 suitable for SerialClob.
In addition:
1. Following methods:
===========================================================
/**
* Retrieves a stream to be used to write Ascii characters to the
* <code>CLOB</code> value that this <code>Clob</code> object represents,
* starting at position <code>pos</code>.
*/
public java.io.OutputStream setAsciiStream(long pos) throws SerialException {
ByteArrayOutputStream baoStream = new ByteArrayOutputStream((int)pos);
return (java.io.OutputStream)baoStream;
}
/**
* Retrieves a stream to be used to write a stream of Unicode characters
* to the <code>CLOB</code> value that this <code>Clob</code> object
* represents, at position <code>pos</code>.
*/
public java.io.Writer setCharacterStream(long pos) throws SerialException {
CharArrayWriter caWriter = new CharArrayWriter((int)pos);
return (java.io.Writer)caWriter;
}
===========================================================
return something that CANNOT be used to write to current SerialClob object.
======================================================================
- backported by
-
JDK-2080090 The class javax.sql.rowset.serial.SerialClob is too buggy
-
- Closed
-
-
JDK-2080091 The class javax.sql.rowset.serial.SerialClob is too buggy
-
- Closed
-
- relates to
-
JDK-4923237 The class javax.sql.rowset.serial.SerialClob does not meet specification
-
- Resolved
-
-
JDK-4991002 The class javax.sql.rowset.serial.SerialBlob is too buggy
-
- Closed
-