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-1255) Implement new JDBC4 methods for creating empty LOBs in the embedded client
Date Wed, 17 May 2006 15:12:07 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1255?page=all ]

V.Narayanan updated DERBY-1255:

    Attachment: ClobBlob_create_v1.diff

Implementing createClob() and createBlob() Methods on the Embedded Server

To implement these methods two new constructors have been introduced in
EmbedClob and EmbedBlob having the following signatures

EmbedClob(String clobString,EmbedConnection con)
EmbedBlob(byte [] blobBytes,EmbedConnection con)

The set methods in the LOB (JDBC3 methods) are not implemented on the Embedded side. 
So the tests basically ensure that the length of the newly created objects in zero
(i.e.) ensure that they are empty initially.

ConnectionTest.java was failing because createQueryObject in
BrokeredConnection40 needed to be forwarded to EmbedConnection40 (i.e.) the
underlying connection that it wraps. I have fixed that up as part of this patch.


> Implement new JDBC4 methods for creating empty LOBs in the embedded client
> --------------------------------------------------------------------------
>          Key: DERBY-1255
>          URL: http://issues.apache.org/jira/browse/DERBY-1255
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>     Versions:
>     Reporter: Rick Hillegas
>     Assignee: V.Narayanan
>      Fix For:
>  Attachments: ClobBlob_create_v1.diff, ClobBlob_create_v1.stat
> Implement Connection.createClob() and Connection.createBlob(). Right now these methods
are implemented in the network client but not the embedded client.

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