Performs a stored procedure call with the given parameters, calling the closure once with all result objects, and also returning a list of lists with the rows of the ResultSet(s). Use this when calling a stored procedure that utilizes both output parameters and returns multiple ResultSets. O
(GString gstring, @ClosureParams(value=SimpleType.class, options="java.lang.Object[]") Closure closure)
| 3833 | * @see #callWithAllRows(String, List, Closure) |
| 3834 | */ |
| 3835 | public List<List<GroovyRowResult>> callWithAllRows(GString gstring, @ClosureParams(value=SimpleType.class, options="java.lang.Object[]") Closure closure) throws SQLException { |
| 3836 | List<Object> params = getParameters(gstring); |
| 3837 | String sql = asSql(gstring, params); |
| 3838 | return callWithAllRows(sql, params, closure); |
| 3839 | } |
| 3840 | |
| 3841 | /** |
| 3842 | * Performs a stored procedure call with the given parameters, |
nothing calls this directly
no test coverage detected