statement.executeBatch() of mysql jdbc driver is broken with
rewriteBatchedStatements=true