[jira] [Updated] (DERBY-6803) Change Sqlca and SqlException in NetworkClient to call MessageUtils

2015-08-21 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6803: - Attachment: sqlca.diff > Change Sqlca and SqlException in NetworkClient to call MessageUt

[jira] [Updated] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-08-15 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6773: - Attachment: IntegrityConstraint.diff > Derby throws pl

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-08-15 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698481#comment-14698481 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I have attached a patch

[jira] [Commented] (DERBY-6804) Change SQLExceptionFactory in both Server and Client to throw Derby exception subclass

2015-08-06 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14661303#comment-14661303 ] Abhinav Gupta commented on DERBY-6804: -- Hi Bryan, engine.SQLExceptionFactory s

[jira] [Updated] (DERBY-6803) Change Sqlca and SqlException in NetworkClient to call MessageUtils

2015-07-31 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6803: - Attachment: MessageUtils_2.diff > Change Sqlca and SqlException in NetworkClient to c

[jira] [Commented] (DERBY-6803) Change Sqlca and SqlException in NetworkClient to call MessageUtils

2015-07-29 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646729#comment-14646729 ] Abhinav Gupta commented on DERBY-6803: -- Hi Bryan, I've ch

[jira] [Updated] (DERBY-6803) Change Sqlca and SqlException in NetworkClient to call MessageUtils

2015-07-29 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6803: - Attachment: MessageUtils_1.diff > Change Sqlca and SqlException in NetworkClient to c

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

2015-07-27 Thread Abhinav Gupta
tArgs() is cleaner way to do it than putting up an IF condition at the other end to handle this case. On Tue, Jul 28, 2015 at 3:04 AM, Abhinav Gupta (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpa

[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

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

2015-07-26 Thread Abhinav Gupta
and retrieve it from there in getLocalizedMessage(). Would it be a good idea ? On Mon, Jul 27, 2015 at 5:10 AM, Abhinav Gupta (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/DERBY-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] >

[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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14642032#comment-14642032 ] Abhinav Gupta commented on DERBY-6801: -- Hi Bryan, I did go through the patc

[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

[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

Re: [jira] [Updated] (DERBY-6803) Change Sqlca and SqlException in NetworkClient to call MessageUtils

2015-07-25 Thread Abhinav Gupta
--- > > > > Key: DERBY-6803 > > URL: https://issues.apache.org/jira/browse/DERBY-6803 > > Project: Derby > > Issue Type: Sub-task > > Components: JDBC, Networ

[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

[jira] [Commented] (DERBY-6802) Change NetworkServer code to use new MessageUtils class

2015-07-22 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637228#comment-14637228 ] Abhinav Gupta commented on DERBY-6802: -- Hi Bryan, I haven't been able to f

[jira] [Updated] (DERBY-6802) Change NetworkServer code to use new MessageUtils class

2015-07-20 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6802: - Attachment: derby.log > Change NetworkServer code to use new MessageUtils cl

[jira] [Commented] (DERBY-6802) Change NetworkServer code to use new MessageUtils class

2015-07-20 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633921#comment-14633921 ] Abhinav Gupta commented on DERBY-6802: -- Hi Bryan, 6802.diff is a minor patch

[jira] [Updated] (DERBY-6802) Change NetworkServer code to use new MessageUtils class

2015-07-20 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6802: - Attachment: 6802.diff > Change NetworkServer code to use new MessageUtils cl

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14630244#comment-14630244 ] Abhinav Gupta commented on DERBY-6801: -- Hi Bryan, I've attached the patch

[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 ser

Re: DERBY-6801: Feedback on MessageUtils_2.diff

2015-07-13 Thread Abhinav Gupta
Hi Bryan, If I try this alternative way, I get this error [javac] /home/abhinav/Documents/Derby/Derby-6801/java/shared/org/apache/derby/shared/common/error/MessageUtils.java:88: error: ')' expected [javac] return (cause instanceof carrier.getClass()) [javac] ^ [javac]

[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 ser

Re: DERBY-6801: Feedback on MessageUtils_2.diff

2015-07-11 Thread Abhinav Gupta
Hi Bryan, I was working on 6802, 6803 when I realized this. You had pointed out earlier that we would be needing DRDAConnThread.buildSqlerrmc() in MessageUtils. > Regarding the other classes, it seems that nearly all of them > are present in order to provide support for the method > > Me

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14615634#comment-14615634 ] Abhinav Gupta commented on DERBY-6801: -- Hi Bryan, Everything seems to be wor

[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 sh

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14613508#comment-14613508 ] Abhinav Gupta commented on DERBY-6801: -- Hi Bryan, I had missed out on adding

[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 sh

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14611834#comment-14611834 ] Abhinav Gupta commented on DERBY-6801: -- Hi Bryan, I've attached the Mes

[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 sh

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14609083#comment-14609083 ] Abhinav Gupta commented on DERBY-6801: -- Hi Bryan, I've added a patch

[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. > Implem

[jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-28 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604846#comment-14604846 ] Abhinav Gupta commented on DERBY-6783: -- A short description for workingPatch.p

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-26 Thread Abhinav Gupta
Hi Bryan, The changes you suggested fixes the Derby5578 test. I've changed the return type of examineTriggerNode to int[] and I've run quite a few test suites without encountering any bugs. The problem that I was facing while running the tests suites was because of the "junit-html" in the command

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-26 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: workingPatch.patch > WHEN clause in CREATE TRIGGER for UPDATE is not working for

[jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-23 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597586#comment-14597586 ] Abhinav Gupta commented on DERBY-6783: -- Hi Bryan, In the error-stacktrace.out

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-22 Thread Abhinav Gupta
Hi Bryan, > I still feel like the return code of examineTriggerNodeAndCols > should not be "String", but should instead be "int []", but I think > we could address that separately. > I had changed that to int[] and it is a part of the diff 6783_newTests.diff that I submitted 5 days ago. Since I

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-19 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: 6783_allTestsPass.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-19 Thread Abhinav Gupta
; > > > Key: DERBY-6783 > > URL: https://issues.apache.org/jira/browse/DERBY-6783 > > Project: Derby > > Issue Type: Bug > > Components: SQL > > Affects Versions: 10.11.1.1 > >

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-18 Thread Abhinav Gupta
37 PM, Abhinav Gupta wrote: > Hi Bryan, > > Another thing that I noticed, I forgot to mention it in the mail I just > sent. > The query does not run successfully if it has a trigger on more than one > field. > > As in AFTER UPDATE OF FIELD1 , works while a query like AFT

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-18 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: 6783_moreTests.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-17 Thread Abhinav Gupta
PM, Abhinav Gupta wrote: > > >> At first I thought "CHAR '20'" meant a character string of length 20, but >> then I looked again at the funny way that '20' was written, and perhaps >> it is the hex representation of an ASCII space character

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-17 Thread Abhinav Gupta
> > At first I thought "CHAR '20'" meant a character string of length 20, but > then I looked again at the funny way that '20' was written, and perhaps > it is the hex representation of an ASCII space character which has the > character code 0x20. I'm quite certain that '20' is arising from the v

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-17 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: 6783_newTests.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-17 Thread Abhinav Gupta
olves Derby-6783. On Wed, Jun 17, 2015 at 3:21 AM, Abhinav Gupta wrote: > Hi Bryan, > > I was trying to understand the truncation error, I changed the values of > the field marks1 and marks2 in the derbyTest-6783_1 and that '20' is > basically the value of the integer fi

Re: [jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-16 Thread Abhinav Gupta
cript below > > > > > > > Key: DERBY-6783 > > URL: https://issues.apache.org/jira/browse/DERBY-6783 > > Project: Derby > > Is

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-09 Thread Abhinav Gupta
Hi Bryan, I wrote a new test that has more than one trigger clause and when clause. The trigger fails to update like the previous test when I run the new test in a clean sandbox, but when I run it with my last patch I get an error ERROR XCL12: An attempt was made to put a data value of type 'j

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-09 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: 6783_newTest.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-08 Thread Abhinav Gupta
Hi Bryan, I updated the patch again and I've been looking at the errors in derby.log of TriggerWhenClauseTest. And there are quite a few errors in derby.log. I've been trying to figure out those recently. Some of them seem to be syntactical errors and that is puzzling me. On Sat, Jun 6, 2015 at 1

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-08 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: (was: 6783.diff) > WHEN clause in CREATE TRIGGER for UPDATE is not working

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-08 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: 6783.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for the

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-06 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: 6783.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for the

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-06 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: (was: 6783.diff) > WHEN clause in CREATE TRIGGER for UPDATE is not working

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-06 Thread Abhinav Gupta
Hi Bryan, I'm extremely sorry about it, I think I attached the incorrect patch. Though I noticed when I clean and apply the correct patch, the build fails while running build_toursdb.sql I'm trying to fix it and I'm attaching this patch as well. On Sat, Jun 6, 2015 at 10:05 PM, Bryan Pendleton w

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-04 Thread Abhinav Gupta
Hi Bryan, I tried to refactor getTriggerActionString, the way you suggested. It still doesn't solve the problem. In my implementation, examineTriggerNodeAndCols returns a string with column positions, so I've two strings one for action node and the other for when node. And then I pass the respecti

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-04 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: 6783.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for the

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-02 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: sortFunction.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-02 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: (was: sortFunction.diff) > WHEN clause in CREATE TRIGGER for UPDATE is

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-02 Thread Abhinav Gupta
d for the case where only STATUS is retrieved, the value in " triggerColsAndTriggerActionCols" is indeed 1. So it should have solved the problem in theory, I haven't yet understood where this logic fails. On Tue, Jun 2, 2015 at 2:15 AM, Abhinav Gupta wrote: > Hi Bryan, >

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-01 Thread Abhinav Gupta
Hi Bryan, I tried implementing the sort logic and I've attached a patch for it. I think the bug still hasn't been solved, I'll try to understand where I'm going wrong with this logic or if there is a mistake with the implementation. On Tue, Jun 2, 2015 at 1:21 AM, Abhinav

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-01 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: sortFunction.diff > WHEN clause in CREATE TRIGGER for UPDATE is not working for

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-01 Thread Abhinav Gupta
he column "status", >> but instead we end up referencing the column "id". >> >> To fix this bug, we have to somehow change the compilation of the trigger >> so that it >> computes the set of columns that we will need in 'newrow' exactly once, &g

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-01 Thread Abhinav Gupta
lumn sets independently. > > > > WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql > script below > > > > > > > Key: DERBY-6783 > > UR

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-06-01 Thread Abhinav Gupta
E TRIGGER for UPDATE is not working for the sql > script below > > > > > > > Key: DERBY-6783 > > URL: https://issues.apache.org/jira/browse/DERBY-6783 &

[jira] [Commented] (DERBY-6807) XXE attack possible by using XmlVTI and the XML datatype

2015-05-31 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14566812#comment-14566812 ] Abhinav Gupta commented on DERBY-6807: -- Hi Bryan, I've attached the patc

[jira] [Updated] (DERBY-6807) XXE attack possible by using XmlVTI and the XML datatype

2015-05-31 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6807: - Attachment: xmltest.diff > XXE attack possible by using XmlVTI and the XML datat

[jira] [Commented] (DERBY-6807) XXE attack possible by using XmlVTI and the XML datatype

2015-05-27 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561639#comment-14561639 ] Abhinav Gupta commented on DERBY-6807: -- Hi Bryan, What would be the correct c

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-27 Thread Abhinav Gupta
Hi Bryan, I had put a few print statements in CreateTriggerNode.java to look at the values when the trigger node is created, it didn't help me much. So I looked for the piece of code that is responsible for firing the trigger based on the event, I believe that it would be TriggerEventActivator.ja

[jira] [Issue Comment Deleted] (DERBY-6810) Add regression tests for XXE vulnerability

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6810: - Comment: was deleted (was: Hi Bryan, I read more about Billion Laughs and what I understand is

[jira] [Commented] (DERBY-6810) Add regression tests for XXE vulnerability

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558530#comment-14558530 ] Abhinav Gupta commented on DERBY-6810: -- Hi Bryan, I read more about Billion La

[jira] [Issue Comment Deleted] (DERBY-6810) Add regression tests for XXE vulnerability

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6810: - Comment: was deleted (was: Hi Bryan, I read more about Billion Laughs and what I understand is

[jira] [Commented] (DERBY-6810) Add regression tests for XXE vulnerability

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558529#comment-14558529 ] Abhinav Gupta commented on DERBY-6810: -- Hi Bryan, I read more about Billion La

[jira] [Commented] (DERBY-6810) Add regression tests for XXE vulnerability

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558528#comment-14558528 ] Abhinav Gupta commented on DERBY-6810: -- Hi Bryan, I read more about Billion La

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-25 Thread Abhinav Gupta
think the new test case demonstrates the bug, once the typo in the > last SQL statement is fixed. > > > WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql > script below > > > > > > > Key: DERBY-6783 > > URL: https://issues.apache.o

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: testTriggerWhenClause.diff > WHEN clause in CREATE TRIGGER for UPDATE is not work

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: (was: TriggerTest.diff) > WHEN clause in CREATE TRIGGER for UPDATE is not work

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-25 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: (was: testTriggerWhenClause.diff) > WHEN clause in CREATE TRIGGER for UPDATE

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-24 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: testTriggerWhenClause.diff > WHEN clause in CREATE TRIGGER for UPDATE is not work

Re: [jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-24 Thread Abhinav Gupta
> > > > Key: DERBY-6783 > > URL: https://issues.apache.org/jira/browse/DERBY-6783 > > Project: Derby > > Issue Type: Bug > > Components: SQL > >

[jira] [Commented] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-22 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556685#comment-14556685 ] Abhinav Gupta commented on DERBY-6783: -- Hi Bryan, Could please guide me on ho

[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 mess

[jira] [Updated] (DERBY-6800) Implement DerbySQLIntegrityConstraintViolationException class

2015-05-19 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6800: - Attachment: subPart1.diff > Implement DerbySQLIntegrityConstraintViolationException cl

[jira] [Updated] (DERBY-6783) WHEN clause in CREATE TRIGGER for UPDATE is not working for the sql script below

2015-05-19 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6783: - Attachment: TriggerTest.diff Test Case for Derby-6783. > WHEN clause in CREATE TRIGGER

[jira] [Updated] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-05-18 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6773: - Attachment: subPart1.diff subPart2.diff Hi Bryan, I was working on the subtasks

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-04-21 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506077#comment-14506077 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I was studying the code and

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-26 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382792#comment-14382792 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I was trying to work on

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-14 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14361872#comment-14361872 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I will look at the svn his

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-13 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14361009#comment-14361009 ] Abhinav Gupta commented on DERBY-6773: -- Also I was looking at your p

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-13 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14360975#comment-14360975 ] Abhinav Gupta commented on DERBY-6773: -- I am still stuck at the error [0

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-10 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14355475#comment-14355475 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, Yes I would surely have a loo

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-08 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352223#comment-14352223 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I tried deleting the files, b

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-08 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352054#comment-14352054 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I checked all the jars and

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-06 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14350656#comment-14350656 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I added your patch and even

[jira] [Updated] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-05 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Gupta updated DERBY-6773: - Attachment: ant -verbose build all.txt Hi Bryan, I am attaching the, 'svn diff' [0], &

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-04 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347424#comment-14347424 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, The error that I am getting i

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-04 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346699#comment-14346699 ] Abhinav Gupta commented on DERBY-6773: -- Hi Jochen, The problem of Derby-677

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-03 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346527#comment-14346527 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, Before writing the new excep

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-03-02 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14343573#comment-14343573 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, I was studying the code

[jira] [Commented] (DERBY-6773) Derby throws plain SQLIntegrityConstraintViolationException

2015-02-27 Thread Abhinav Gupta (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340547#comment-14340547 ] Abhinav Gupta commented on DERBY-6773: -- Hi Bryan, Yes, I got the excep

  1   2   >