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

V.Narayanan commented on DERBY-796:
-----------------------------------

Hi,

Thank You for the comments Dan. 

a) Sorry about the comments and the javadocs. I will fix this in my next patch.

b)  I am asking Sunitha on how she is handling the length  as a long datatype 
when the RawtoBinaryStream class expects an Integer. 

c) I have a solution where reflection would be used only once. I am
documenting my solution below

    c.1) We could make ClientJDBCObjectFactory a interface
    c.2) Have two implementations ClientJDBCObjectFactoryImpl and
           ClientJDBCObjectFactoryImpl40
    c.3) A method getFactory() in the client driver that loads appropriate
            implementation depending on the jdk under use. This method would use
            reflection to load the JDBC40 class.

This way we will have reflection only once.

This could'nt be done exactly the same way as the embedded side because
we do'nt have the monitor concept here

> 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: lob.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

Reply via email to