I tried this and facing the following issue groovy.lang.MissingPropertyException: No such property: ID for class: oracle.jdbc.driver.OracleResultSetImpl Possible solutions: row
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:51) at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:63) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:291) at ConsoleScript1$_run_closure1.doCall(ConsoleScript1:8) -- View this message in context: http://groovy.329449.n5.nabble.com/Oracle-Insert-Data-from-one-table-to-another-table-using-Groovy-tp5734285p5734298.html Sent from the Groovy Dev mailing list archive at Nabble.com.