Re: [jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-27 Thread Abhinav Gupta
Hi Bryan, The latest patch replaces the code in the getLocalizedMessage(), so that is calls the new function getArgs(). And now getArgs() returns the MessageId field as the last element of the array. I'm now working to integrate this work with your patch clientOutline.diff, I suppose one of the d

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-27 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_Latest_2.diff > Implement MessageUtils class so client and server can sha

Re: [jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-26 Thread Bryan Pendleton
Another issue that I noticed was that getArgs() also needs to return the messageId. One of the possible solutions that I could think of was to include the messageId field as the last object of the Object array arguments and retrieve it from there in getLocalizedMessage(). Would it be a good ide

Re: [jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-26 Thread Abhinav Gupta
Hi Bryan, Your notes were very helpful for me to understand how we want to implement getArgs() and how it would be called. I've attached a patch to 6801 that tries to achieve this. In this patch I've also refactored SQLCAMESSAGE() of SystemProcedure but I've commented it for the moment, since I'm

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-26 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_Latest_1.diff > Implement MessageUtils class so client and server can sha

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-26 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_Latest.diff > Implement MessageUtils class so client and server can share

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-26 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: (was: MessageUtils_Latest.diff) > Implement MessageUtils class so client and serve

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_Latest.diff > Implement MessageUtils class so client and server can share

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-18 Thread Bryan Pendleton (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Pendleton updated DERBY-6801: --- Attachment: unsealDerbyNetJar.diff My test failures involved running with jars, and it turns o

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-16 Thread Bryan Pendleton (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Pendleton updated DERBY-6801: --- Attachment: MessageUtilsBryan.diff Hi Abhinav, thank you for posting your patch. Once I looked

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-16 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_StandardEx_1.diff > Implement MessageUtils class so client and server can

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-11 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_StandardExcep.diff > Implement MessageUtils class so client and server ca

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-06 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_3.diff > Implement MessageUtils class so client and server can share mess

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-03 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: MessageUtils_2.diff > Implement MessageUtils class so client and server can share mess

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-02 Thread Bryan Pendleton (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Pendleton updated DERBY-6801: --- Attachment: build.out Hi Abhinav, thanks for the latest patch. The code looks much cleaner no

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-07-02 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: messageUtils_1.diff > Implement MessageUtils class so client and server can share mess

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-06-30 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: messageUtils.diff This patch adds the new class MessageUtils.java. > Implement Messa

[jira] [Updated] (DERBY-6801) Implement MessageUtils class so client and server can share message argument encoding/decoding

2015-05-21 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6801: - Attachment: subPart2.diff > Implement MessageUtils class so client and server can share message ar