Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.5.1Release
-
Fix Version/s: None
-
Component/s: Inferencing Engine
-
Labels:
-
Number of attachments :
Description
The following groovy groovy.sql.Sql 1.8.1 methods should support type inferencing on closure arguments:
public java.util.List groovy.sql.Sql.rows(java.lang.String,groovy.lang.Closure) throws java.sql.SQLException public java.util.List groovy.sql.Sql.rows(java.lang.String,int,int,groovy.lang.Closure) throws java.sql.SQLException public java.util.List groovy.sql.Sql.rows(java.lang.String,java.util.List,groovy.lang.Closure) throws java.sql.SQLException public java.util.List groovy.sql.Sql.rows(java.lang.String,java.util.List,int,int,groovy.lang.Closure) throws java.sql.SQLException public java.util.List groovy.sql.Sql.rows(groovy.lang.GString,groovy.lang.Closure) throws java.sql.SQLException public java.util.List groovy.sql.Sql.rows(groovy.lang.GString,int,int,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.query(java.lang.String,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.query(java.lang.String,java.util.List,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.query(groovy.lang.GString,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.call(java.lang.String,java.util.List,groovy.lang.Closure) throws java.lang.Exception public void groovy.sql.Sql.call(groovy.lang.GString,groovy.lang.Closure) throws java.lang.Exception public void groovy.sql.Sql.eachRow(java.lang.String,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(java.lang.String,int,int,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(java.lang.String,groovy.lang.Closure,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(java.lang.String,groovy.lang.Closure,int,int,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(java.lang.String,java.util.List,groovy.lang.Closure,int,int,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(java.lang.String,java.util.List,groovy.lang.Closure,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(java.lang.String,java.util.List,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(java.lang.String,java.util.List,int,int,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(groovy.lang.GString,groovy.lang.Closure,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(groovy.lang.GString,groovy.lang.Closure,int,int,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(groovy.lang.GString,int,int,groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.eachRow(groovy.lang.GString,groovy.lang.Closure) throws java.sql.SQLException public synchronized void groovy.sql.Sql.cacheConnection(groovy.lang.Closure) throws java.sql.SQLException public synchronized void groovy.sql.Sql.cacheStatements(groovy.lang.Closure) throws java.sql.SQLException public void groovy.sql.Sql.withStatement(groovy.lang.Closure) public synchronized void groovy.sql.Sql.withTransaction(groovy.lang.Closure) throws java.sql.SQLException public int[] groovy.sql.Sql.withBatch(groovy.lang.Closure) throws java.sql.SQLException public int[] groovy.sql.Sql.withBatch(int,groovy.lang.Closure) throws java.sql.SQLException public int[] groovy.sql.Sql.withBatch(java.lang.String,groovy.lang.Closure) throws java.sql.SQLException public int[] groovy.sql.Sql.withBatch(int,java.lang.String,groovy.lang.Closure) throws java.sql.SQLException
As well as the following groovy.sql.* classes and methods: