[
https://issues.apache.org/jira/browse/DERBY-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.Narayanan updated DERBY-2587:
-------------------------------
Attachment: ConnectionLocatorWork_v1.stat
ConnectionLocatorWork_v1.diff
Pls find attached the Connection createBlob() method implementation.
The following are the details of the work done
- Moved the createBlob and createClob from net/NetConnection40 to am/Connection.
- Modified createBlob to use locators.
- call blobCreateLocator() to get a locator value
- If a valid locator value is obtained then return a Blob object associated
with this
locator value.
- If an exception is thrown upon a call to the stored procedure
BLOBCREATELOCATOR
or CLOBCREATELOCATOR this information can be cached in the
CallableLocatorProcedures class so that a round trip to the server can be
avoided
when locator support is not available
- The locator code has been temporarily disabled.
Please note that this patch is dependent on Derby-2496 and cannot be committed
until DERBY-2496 is committed.
> Connection.createClob() and Connection.createBlob() need to return locator
> support enabled LOB objects in the NetworkClient
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-2587
> URL: https://issues.apache.org/jira/browse/DERBY-2587
> Project: Derby
> Issue Type: Sub-task
> Reporter: V.Narayanan
> Assigned To: V.Narayanan
> Attachments: ConnectionLocatorWork_v1.diff,
> ConnectionLocatorWork_v1.stat
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.