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)" <ji...@apache.org> on 2007/05/03 15:30:15 UTC

[jira] Updated: (DERBY-2604) Implement Clob support for locators

     [ https://issues.apache.org/jira/browse/DERBY-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

V.Narayanan updated DERBY-2604:
-------------------------------

    Attachment: ClobLocatorWork_v1.stat
                ClobLocatorWork_v1.diff

The attached patch, ClobLocatorWork_v1.diff, adds support for locators for Clob methods. Note that the use of locators for Clob is still not enabled. This as mentioned will be done as a seperate JIRA issue.

The changes to the various files and their purport are as following

M      java/client/org/apache/derby/client/net/NetCursor.java

Create locator based Clob object if locator is sent.

A      java/client/org/apache/derby/client/am/ClobLocatorWriter.java

Writer for locator based Clob. 

M      java/client/org/apache/derby/client/am/Clob.java

Add constructor for locator based Clob objects.

Make all Clob operations support locators. Operations are performed by calling stored procedures through the framework implemented by CallableLocatorProcedures class.

Create locator based versions of streams for locator based Clob objects 

A      java/client/org/apache/derby/client/am/ClobLocatorInputStream.java

InputStream for locator based Clob. 

A      java/client/org/apache/derby/client/am/ClobLocatorOutputStream.java

OutputStream for locator based Clob. 

A      java/client/org/apache/derby/client/am/ClobLocatorReader.java

Reader for locator based Clob.

I have run tests(junit All) on this patch and there were no failures.



> Implement Clob support for locators
> -----------------------------------
>
>                 Key: DERBY-2604
>                 URL: https://issues.apache.org/jira/browse/DERBY-2604
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: V.Narayanan
>         Assigned To: V.Narayanan
>         Attachments: ClobLocatorWork_v1.diff, ClobLocatorWork_v1.stat
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.