[
http://issues.apache.org/jira/browse/DERBY-1471?page=comments#action_12455215 ]
Bryan Pendleton commented on DERBY-1471:
----------------------------------------
May I suggest an alternate wording for the new error message? Instead of
<text>Length of LOB was retrieved though it was unknown
yet.</text>
I suggest
<text>The length of this BLOB/CLOB is not available yet. When a BLOB or
CLOB is accessed as a stream, the length is not available until the entire
stream has been processed.</text>
Also, one other question on the patch, regarding the change to
o.a.d.client.am.Lob:
when will it be the case that the agent_.connection_ instance is *not* an
instance
of NetConnection? Don't we always have a NetConnection instance here?
The rest of the patch looks good to me.
> Implement layer B streaming for new methods defined in JDBC4.0
> --------------------------------------------------------------
>
> Key: DERBY-1471
> URL: http://issues.apache.org/jira/browse/DERBY-1471
> Project: Derby
> Issue Type: New Feature
> Components: Network Client
> Reporter: Tomohito Nakayama
> Assigned To: Tomohito Nakayama
> Attachments: DERBY-1471.diff, DERBY-1471.patch, DERBY-1471.stat,
> DERBY-1471_2.patch, DERBY-1471_2.stat
>
>
> JDBC 4.0 introduced new methods which take parameters for object to be sent
> to sever without length information.
> For those methods, Layer B streaming is best way to implement sending object
> to server.
> This issue is representation of DERBY-1417 in Network Client.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira