public void addBatch() throws SQLException { logger.debug("addBatch() - start"); _statement.addBatch(); _batchCount++; if (_batchCount % _threshold == 0) { _result += _statement.executeBatch(); } }
public void close() throws SQLException { logger.debug("close() - start"); _statement.close(); }
public void clearBatch() throws SQLException { logger.debug("clearBatch() - start"); _statement.clearBatch(); _batchCount = 0; }
public int executeBatch() throws SQLException { logger.debug("executeBatch() - start"); _result += _statement.executeBatch(); return _result; }
public void addValue(Object value, DataType dataType) throws TypeCastException, SQLException { logger.debug("addValue(value={}, dataType={}) - start", value, dataType); _statement.addValue(value, dataType); }