[ 
https://issues.apache.org/jira/browse/DERBY-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

V.Narayanan updated DERBY-2443:
-------------------------------

    Attachment: ResultSetNotImplMethods_v1.stat
                ResultSetNotImplMethods_v1.diff

*THIS PATCH IS NOT FOR COMMIT*

EXPLN OF CHANGES
----------------
This patch is blocked by DERBY-2430 and contains the diff's pertainining to 
that issue as the following files

M      
java/testing/org/apache/derbyTesting/functionTests/tests/lang/UpdatableResultSetTest.java
M      java/client/org/apache/derby/client/am/CrossConverters.java

Tests for the updateClob/UpdateBlob that take a Clob/Blob as a parameter for 
the embedded case had been present in jdbc4/ResultSetTest.java. They are 
however present from earlier versions than JDBC 4.0. I have hence migrated 
tests for these to jdbcapi/UpdatableResultSetTest.java.

I have however not deleted the tests from jdbc4/ResultSetTest. I simply enabled 
them for running with the Network Client also.

The tests for the methods accepting InputStream/Reader can be found in 
jdbc4/ResultSetTest.

M      
java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ResultSetTest.java
M      
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/UpdatableResultSetTest.java

Post 2430 updateBlob and updateClob would fail with all types except BLOB and 
CLOB respectively. These methods have basically been forwarded to setObject. 
Moving these methods into ResultSet from NetResultSet40.

M      java/client/org/apache/derby/client/net/NetResultSet40.java
M      java/client/org/apache/derby/client/am/ResultSet.java

> Implement ResultSet updateClob/updateBlob methods  on the NetworkClient
> -----------------------------------------------------------------------
>
>                 Key: DERBY-2443
>                 URL: https://issues.apache.org/jira/browse/DERBY-2443
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Client
>         Environment: All
>            Reporter: V.Narayanan
>         Assigned To: V.Narayanan
>         Attachments: ResultSetNotImplMethods_v1.diff, 
> ResultSetNotImplMethods_v1.stat
>
>
> Implement the following ResultSet methods on the Network Client
> updateBlob(int columnIndex, Blob x)
>  updateBlob(String columnName, Blob x)
>  updateClob(int columnIndex, Clob x)
>  updateClob(String columnName, Clob x)
>  updateBlob(int columnIndex, InputStream x, long length)
>  updateBlob(String columnName, InputStream x, long length)
>  updateClob(int columnIndex, Reader x, long length)
>  updateClob(String columnName, Reader x, long length)

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

Reply via email to