You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "V.Narayanan (JIRA)" <de...@db.apache.org> on 2006/01/04 15:54:01 UTC

[jira] Updated: (DERBY-796) jdbc 4.0 specific Blob and Clob method support

     [ http://issues.apache.org/jira/browse/DERBY-796?page=all ]

V.Narayanan updated DERBY-796:
------------------------------

    Attachment: clobblob.diff

DETAILS OF PATCH

Patch addresses the following issues

1)Modifications to the ClientJDBCObjectFactory class and the incorporation of the factory into the Client layer.
2)Blob and Clob method support

Details of the above modifications are documented below. 
1)Modifications to ClientJDBCObjectFactory class

a) Addition of method 'createObject' that uses reflection to create the objects depending on the version of VM under use and modifying ClientJDBCObjectFactory to use this method.

b) Modifying Network Client classes to use the factory class.


2)Blob and Clob method support

The following are the methods from which the Util.notImplemented() exception has been removed and has been replaced with appropriate code.

<trunk>/java/engine/org/apache/derby/impl/jdbc/EmbedPreparedStatement40.java

setClob(int parameterIndex, Reader reader, long length)
setBlob(int parameterIndex, InputStream inputStream, long length)

<trunk>/java/client/org/apache/derby/client/am/PreparedStatement40.java

setClob(int parameterIndex, Reader reader, long length)
setBlob(int parameterIndex, InputStream inputStream, long length)

> jdbc 4.0 specific Blob and Clob method support
> ----------------------------------------------
>
>          Key: DERBY-796
>          URL: http://issues.apache.org/jira/browse/DERBY-796
>      Project: Derby
>         Type: New Feature
>   Components: JDBC
>     Versions: 10.2.0.0
>  Environment: jdbc 4.0 on all platforms
>     Reporter: V.Narayanan
>     Assignee: V.Narayanan
>     Priority: Minor
>      Fix For: 10.2.0.0
>  Attachments: clobblob.diff
>


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