Perhaps as described here:
DataSet classes could support batch operations
Split issue in two - this issue is now just for aspects relating to using Statement.executeBatch() functionality. GROOVY-3504 is for batching involving PreparedStatements (i.e. not supported by Java libraries and would need to be added on top).
Partitioning patch (slightly reworked) applied.
Forgot that they changed Statement in 1.6. It'll need a few more tweaks.
Tweaked to not specifically compile against 1.6 related Interface