public void addBatch() throws SQLException { logger.debug("addBatch() - start"); _statement.addBatch(); _batchCount++; if (_batchCount % _threshold == 0) { _result += _statement.executeBatch(); } }