Oracle Insert Data from one table to another table using Groovy

2016-07-25 Thread GroovyBeginner
I have a requirement of inserting the data from table A into table B and am using Oracle database. My condition is am going to insert only those records which are not present in table B and am facing an issue of retrieving the current row column values. Here is the code am trying. import groov

Re: groovy git commit: GROOVY-7876: ClassCastException when calling DefaultTypeTransformation#compareEqual (closes #368)

2016-07-25 Thread Paul King
On Mon, Jul 25, 2016 at 5:05 PM, Jochen Theodorou wrote: > On 24.07.2016 14:56, Paul King wrote: >> >> I think the GString check can be moved up as you suggest to improve >> the readability of the code without breaking existing behavior, so >> I've done that. >> >> Whether to go with your other su

Re: groovy git commit: GROOVY-7876: ClassCastException when calling DefaultTypeTransformation#compareEqual (closes #368)

2016-07-25 Thread Paul King
Yes, I generally agree with what you are suggesting. We do seem to talk about this a lot from time to time but struggle to make much real progress. I guess we need to start filling in the parts of this puzzle with poorly defined behavior with some additional tests. I'll try to give some more attent

Re: groovy git commit: GROOVY-7876: ClassCastException when calling DefaultTypeTransformation#compareEqual (closes #368)

2016-07-25 Thread Jochen Theodorou
On 24.07.2016 14:56, Paul King wrote: I think the GString check can be moved up as you suggest to improve the readability of the code without breaking existing behavior, so I've done that. Whether to go with your other suggestions is less clear to me. If we assume the check in EqualsTest#testPa