Re: Build broken for JDK9

2016-07-27 Thread Paul King
There is a (broken since creation) jdk9 CI on teamcity: http://ci.groovy-lang.org/project.html?projectId=Groovy It needs some tlc. :-( The asciidoc generation should occur as part of install (does a maven-style install of jars including doc jars) task but not for the installGroovy task which creat

Re: Oracle Insert Data from one table to another table using Groovy

2016-07-27 Thread GroovyBeginner
I have tried the following code now and seems to be nothing is being inserted into the database table. I have executed the following code and the result is displayed as null. import groovy.sql.Sql; import java.sql.ResultSet; import java.util.Properties; sql = Sql.newInstance("jdbc:oracle:thin:@lo

Re: Oracle Insert Data from one table to another table using Groovy

2016-07-27 Thread Michael Tetzlaff
I guess you should do: "...values (${row.ID}, ${row.Name}) The curly brackets... Am 27.07.2016 um 12:57 schrieb GroovyBeginner: I have tried the following code now and seems to be nothing is being inserted into the database table. I have executed the following code and the result is displayed

Better Approach to fetch entire data from the table Groovy Sql

2016-07-27 Thread GroovyBeginner
I am trying to fetch entire data from a table and the outcome should be a comma seperated string. Here is my code which is working fine. import groovy.sql.Sql; import java.sql.ResultSet; def temp=""; def temp1=""; sql = Sql.newInstance("jdbc:oracle:thin:@localhost:1521:XE","username", "passw

Re: Build broken for JDK9

2016-07-27 Thread Russel Winder
On Wed, 2016-07-27 at 17:01 +1000, Paul King wrote: > There is a (broken since creation) jdk9 CI on teamcity: > http://ci.groovy-lang.org/project.html?projectId=Groovy > It needs some tlc. :-( > > The asciidoc generation should occur as part of install (does a > maven-style install of jars includi