[ 
https://issues.apache.org/jira/browse/DERBY-2496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493230
 ] 

Rick Hillegas commented on DERBY-2496:
--------------------------------------

Thanks for the changes, Øystein. I am afraid I'm having some trouble applying 
blob-followup.diff. My patch tool could not apply the changes in 
BlobLocatorInputStream. So I tried applying them by hand. I ended up with 
compile errors in Blob.java because:

1) Blob.getBinaryStream() throws SQLException, not SqlException

2) But that method creates a BlobLocatorInputStream. The constructors for 
BlobLocatorInputStream throw SqlException, not SQLException.

Can you regenerate the patch and let me know what your exception signatures are 
for Blob.getBinaryStream() and for the constructors of BlobLocatorInputStream?

> Implement Blob support for Locators
> -----------------------------------
>
>                 Key: DERBY-2496
>                 URL: https://issues.apache.org/jira/browse/DERBY-2496
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: Øystein Grøvlen
>         Assigned To: Øystein Grøvlen
>         Attachments: blob-followup.diff, blob.diff, blob_v2.diff
>
>
> DERBY-2347 adds the possibility to send locators between client and server 
> instead of LOB values.  This has not been activated yet, since the client 
> implementation does not currently support locators.  This report is for 
> supporting the locators for Blob objects.  Another JIRA issue will be made 
> for Clob.
> This work will be made in several steps:
>    1. Blob methods and ResultSet.getXXX methods
>    2. PreparedStatement and CallableStatement methods
>    3. ResultSet.updateXXX methods
>    4. Connection.createBlob()
> There is dependencies between these steps and it might be that the Locator 
> implementation cannot be exposed until everything has been done.  At least, 
> doing just step 1, gives testing errors because tests use Blobs fetched from 
> DB as parameters to prepared statements.   I would guess tests for updatable 
> result sets, needs the combination of 1. and 3.

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

Reply via email to