Performs a stored procedure call with the given parameters, calling the closure once with all result objects, and also returning the rows of the ResultSet. Use this when calling a stored procedure that utilizes both output parameters and returns a single ResultSet. Once created, the stored p
(GString gstring, @ClosureParams(value=SimpleType.class, options="java.lang.Object[]") Closure closure)
| 3741 | * @see #callWithRows(String, List, Closure) |
| 3742 | */ |
| 3743 | public List<GroovyRowResult> callWithRows(GString gstring, @ClosureParams(value=SimpleType.class, options="java.lang.Object[]") Closure closure) throws SQLException { |
| 3744 | List<Object> params = getParameters(gstring); |
| 3745 | String sql = asSql(gstring, params); |
| 3746 | return callWithRows(sql, params, closure); |
| 3747 | } |
| 3748 | |
| 3749 | /** |
| 3750 | * Performs a stored procedure call with the given parameters, |
no test coverage detected