db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1417) Add new, lengthless overloads to the streaming api
Date Thu, 15 Jun 2006 15:47:31 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1417?page=all ]

Rick Hillegas updated DERBY-1417:
---------------------------------

    Description: 
The JDBC4 Expert Group has approved a new set of overloads for the streaming methods. These
overloads do not take a length argument. Here are the new overloads:

PreparedStatement.setAsciiStream(int parameterIndex, java.io.InputStream x)
PreparedStatement.setBinaryStream(int parameterIndex, java.io.InputStream x)
PreparedStatement.setCharacterStream(int parameterIndex, java.io.Reader reader)
PreparedStatement.setNCharacterStream(int parameterIndex, java.io.Reader reader)
PreparedStatement.setBlob(int parameterIndex, java.io.InputStream inputStream)
PreparedStatement.setClob(int parameterIndex, java.io.Reader reader)
PreparedStatement.setNClob(int parameterIndex, java.io.Reader reader)
CallableStatement.setAsciiStream(java.lang.String parameterName, java.io.InputStream x)
CallableStatement.setBinaryStream(java.lang.String parameterName, java.io.InputStream x)
CallableStatement.setCharacterStream(java.lang.String parameterName, java.io.Reader reader)
CallableStatement.setNCharacterStream(java.lang.String parameterName, java.io.Reader reader)
CallableStatement.setBlob(java.lang.String parameterName, java.io.InputStream inputStream)
CallableStatement.setClob(java.lang.String parameterName, java.io.Reader reader)
CallableStatement.setNClob(java.lang.String parameterName, java.io.Reader reader)
ResultSet.updateAsciiStream(int columnIndex, java.io.InputStream x)
ResultSet.updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)
ResultSet.updateBinaryStream(int columnIndex, java.io.InputStream x)
ResultSet.updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int length)
ResultSet.updateCharacterStream(int columnIndex, java.io.Reader x)
ResultSet.updateCharacterStream(java.lang.String columnLabel, java.io.Reader x)
ResultSet.updateNCharacterStream(int columnIndex, java.io.Reader x)
ResultSet.updateNCharacterStream(java.lang.String columnLabel, java.io.Reader x)  
ResultSet.updateBlob(int columnIndex, java.io.InputStream inputStream)
ResultSet.updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)
ResultSet.updateClob(int columnIndex, java.io.Reader reader)
ResultSet.updateClob(java.lang.String columnLabel, java.io.Reader reader)
ResultSet.updateNClob(int columnIndex, java.io.Reader reader)
ResultSet.updateNClob(java.lang.String columnLabel, java.io.Reader reader)

We should add these new overloads soon so that the build will not break when this methods
turn up in a published Mustang build.

  was:
The JDBC4 Expert Group has approved a new set of overloads for the streaming methods. These
overloads do not take a length argument. Here are the new overloads:

add PreparedStatement.setAsciiStream (int columnIndex, InputStream x, long length)
add PreparedStatement.setBinaryStream (int columnIndex, InputStream x, long length
add PreparedStatement.setCharacterStream (int columnIndex, Reader x, long length)
add CallableStatement.setAsciiStream (String columnName, InputStream x, long length)
add CallableStatement.setBinaryStream (String columnName, InputStream x, long length)
add CallableStatement.setCharacterStream (String columnName, Reader x, long length)
add ResultSet.updateAsciiStream (int columnIndex, InputStream x, long length)
add ResultSet.updateBinaryStream (int columnIndex, InputStream x, long length)
add ResultSet.updateCharacterStream (int columnIndex, Reader x, long length)
add ResultSet.updateAsciiStream (String columnName, InputStream x, long length)
add ResultSet.updateBinaryStream (String columnName, InputStream x, long length)
add ResultSet.updateCharacterStream (String columnName, Reader x, long length)
add ResultSet.updateBlob (int columnIndex, InputStream x, long length)
add ResultSet.updateBlob (String columnName, InputStream x, long length)    
add ResultSet.updateClob (int columnIndex, Reader x, long length)
add ResultSet.updateClob (String columnName, Reader x, long length)
add ResultSet.updateNClob (int columnIndex, Reader x, long length)
add ResultSet.updateNClob (String columnName, Reader x, long length)
modify ResultSet.updateNCharacterStream(int columnIndex, Reader x, int length) to ResultSet.updateNCharacterStream(int
columnIndex, Reader x, long length)
modify ResultSet.updateNCharacterStream(String columnName, Reader x, int length) to ResultSet.updateNCharacterStream(String
columnName, Reader x, long length)

We should add these new overloads soon so that the build will not break when this methods
turn up in a published Mustang build.


Corrected the set of overloads.

> Add new, lengthless overloads to the streaming api
> --------------------------------------------------
>
>          Key: DERBY-1417
>          URL: http://issues.apache.org/jira/browse/DERBY-1417
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>      Fix For: 10.2.0.0

>
> The JDBC4 Expert Group has approved a new set of overloads for the streaming methods.
These overloads do not take a length argument. Here are the new overloads:
> PreparedStatement.setAsciiStream(int parameterIndex, java.io.InputStream x)
> PreparedStatement.setBinaryStream(int parameterIndex, java.io.InputStream x)
> PreparedStatement.setCharacterStream(int parameterIndex, java.io.Reader reader)
> PreparedStatement.setNCharacterStream(int parameterIndex, java.io.Reader reader)
> PreparedStatement.setBlob(int parameterIndex, java.io.InputStream inputStream)
> PreparedStatement.setClob(int parameterIndex, java.io.Reader reader)
> PreparedStatement.setNClob(int parameterIndex, java.io.Reader reader)
> CallableStatement.setAsciiStream(java.lang.String parameterName, java.io.InputStream
x)
> CallableStatement.setBinaryStream(java.lang.String parameterName, java.io.InputStream
x)
> CallableStatement.setCharacterStream(java.lang.String parameterName, java.io.Reader reader)
> CallableStatement.setNCharacterStream(java.lang.String parameterName, java.io.Reader
reader)
> CallableStatement.setBlob(java.lang.String parameterName, java.io.InputStream inputStream)
> CallableStatement.setClob(java.lang.String parameterName, java.io.Reader reader)
> CallableStatement.setNClob(java.lang.String parameterName, java.io.Reader reader)
> ResultSet.updateAsciiStream(int columnIndex, java.io.InputStream x)
> ResultSet.updateAsciiStream(java.lang.String columnLabel, java.io.InputStream x)
> ResultSet.updateBinaryStream(int columnIndex, java.io.InputStream x)
> ResultSet.updateBinaryStream(java.lang.String columnLabel, java.io.InputStream x, int
length)
> ResultSet.updateCharacterStream(int columnIndex, java.io.Reader x)
> ResultSet.updateCharacterStream(java.lang.String columnLabel, java.io.Reader x)
> ResultSet.updateNCharacterStream(int columnIndex, java.io.Reader x)
> ResultSet.updateNCharacterStream(java.lang.String columnLabel, java.io.Reader x)  
> ResultSet.updateBlob(int columnIndex, java.io.InputStream inputStream)
> ResultSet.updateBlob(java.lang.String columnLabel, java.io.InputStream inputStream)
> ResultSet.updateClob(int columnIndex, java.io.Reader reader)
> ResultSet.updateClob(java.lang.String columnLabel, java.io.Reader reader)
> ResultSet.updateNClob(int columnIndex, java.io.Reader reader)
> ResultSet.updateNClob(java.lang.String columnLabel, java.io.Reader reader)
> We should add these new overloads soon so that the build will not break when this methods
turn up in a published Mustang build.

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