db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V.Narayanan (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-796) jdbc 4.0 specific Blob and Clob method support
Date Wed, 22 Feb 2006 17:04:55 GMT
     [ http://issues.apache.org/jira/browse/DERBY-796?page=all ]

V.Narayanan updated DERBY-796:

    Attachment: lob_6.diff

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,

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


> 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:
>  Environment: jdbc 4.0 on all platforms
>     Reporter: V.Narayanan
>     Assignee: V.Narayanan
>     Priority: Minor
>      Fix For:
>  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:
For more information on JIRA, see:

View raw message