[
https://issues.apache.org/jira/browse/DERBY-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659262#comment-14659262
]
ASF subversion and git services commented on DERBY-6802:
--------------------------------------------------------
Commit 1694383 from [~bryanpendleton] in branch 'code/trunk'
[ https://svn.apache.org/r1694383 ]
DERBY-6802: Change NetworkServer code to use new MessageUtils class
DERBY-6823: Refactor uses of DB2_JCC_MAX_EXCEPTION_PARAM_LENGTH
This patch was contributed by Abhinav Gupta (abhinavgupta2004 at gmail dot com)
This change modifies several classes in the Network Server and Engine
code bases to use the new features of the MessageUtils class in the
shared code.
The intent of this change is that no behavior is altered. The same
algorithms, data structures, network protocols, etc. are in use;
the only difference is that the implementation of the error message
and exception encoding logic is now drawn from MessageUtils methods
rather than being spread over several classes in the Network Server
and Engine code.
> Change NetworkServer code to use new MessageUtils class
> -------------------------------------------------------
>
> Key: DERBY-6802
> URL: https://issues.apache.org/jira/browse/DERBY-6802
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC, Network Client, Network Server
> Reporter: Bryan Pendleton
> Assignee: Abhinav Gupta
> Priority: Minor
> Attachments: 6802.diff, derby.log, refactorServerCode.diff
>
>
> We would like to change the NetworkServer code which encodes and decodes
> message arguments for Derby exceptions which are returned
> to the client so that it uses the new MessageUtils class to do that
> encoding and decoding.
> There won't be any change of behavior when we do this; this is just
> a refactoring of code to allow for sharing between client and server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)