Performs the closure (containing batch operations) within a batch. Uses a batch size of zero, i.e. no automatic partitioning of batches. This means that executeBatch() will be called automatically after the withBatch closure has finished but may be called explicitly if
(@ClosureParams(value=SimpleType.class, options="groovy.sql.BatchingStatementWrapper") Closure closure)
| 4164 | * @see #withBatch(int, Closure) |
| 4165 | */ |
| 4166 | public int[] withBatch(@ClosureParams(value=SimpleType.class, options="groovy.sql.BatchingStatementWrapper") Closure closure) throws SQLException { |
| 4167 | return withBatch(0, closure); |
| 4168 | } |
| 4169 | |
| 4170 | /** |
| 4171 | * Performs the closure (containing batch operations) within a batch using a given batch size. |
nothing calls this directly
no test coverage detected