db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tomohito Nakayama (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-1471) Implement layer B streaming for new methods defined in JDBC4.0
Date Sun, 03 Dec 2006 11:06:22 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1471?page=comments#action_12455158 ] 
Tomohito Nakayama commented on DERBY-1471:

Thank you for your attention :)

The answer is Optional.

Layer B Streaming is optional and used only when lengthless methods were used under configuration
of no encryption.
Those lengthless method were introduced in JDBC4.

// Spec of DRDA told that segmented object must be combined and decrypted as a single object
for Encrypted Object DSS.
// Then I think there are less benefit to using Layer B streaming in the encrypted case.

Furthermore, Layer B streaming does not use length information for whole LOB , 
however it does use length information for each DSS segment.
I read next parts as where relate :
org.apache.derby.impl.drda.DDMReader#readDssHeader ()

> 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,
> 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


View raw message