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

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

    Attachment: lob_6.diff
                lob_6.stat

Fixed the issues pointed out by knut in the earlier comments and am posting the 
patch again. In the current patch I am handling the issue pointed out by knut 
of the ClientJDBCObjectFatory class not to have any reference of net package. 

However because of this change in ClientJDBCObjectFactory please observe the 
following cast of NetLogWriter in ClientJDBCObjectFactoryImpl

Line no 134

        return (org.apache.derby.client.am.Connection)
        (new 
NetConnection((NetLogWriter)netLogWriter,user,password,dataSource,rmId,
                isXAConn));

This cast won't fail since newConnection method is being called internally and 
is always called with NetLogWriter. However a better solution would be to 
change the NetConnection class constructors to accept LogWriter.

I am opening a new JIRA issue for this and along with that patch I will submit 
the changes to remove the explicit casts in ClientJDBCObjectFactoryImpl and 
ClientJDBCObjectFactoryImpl40

Narayanan




> 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: ClientFrameworkExplanation_1.txt, 
> ClientFrameworkExplanation_2.txt, ClientFramework_Explanation.txt, lob.diff, 
> lob_1.diff, lob_2.diff, lob_3.diff, lob_4.diff, lob_4.stat, lob_5.diff, 
> lob_5.stat, lob_6.diff, lob_6.diff, lob_6.stat, lob_6.stat
>


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