/** * Flush the given row immediately or deferred the flush in batch. */ protected void flushAndUpdate(RowImpl row) throws SQLException { if (isBatchDisabled(row)) { // if there were some statements batched before, then // we need to flush them out first before processing the // current non batch process. flushBatch(); super.flushAndUpdate(row); } else { // process the SQL statement, either execute it immediately or // batch it for later execution. batchOrExecuteRow(row); } }
/** * Flush the given row immediately or deferred the flush in batch. */ protected void flushAndUpdate(RowImpl row) throws SQLException { if (isBatchDisabled(row)) { // if there were some statements batched before, then // we need to flush them out first before processing the // current non batch process. flushBatch(); super.flushAndUpdate(row); } else { // process the SQL statement, either execute it immediately or // batch it for later execution. batchOrExecuteRow(row); } }
/** * Flush the given row immediately or deferred the flush in batch. */ protected void flushAndUpdate(RowImpl row) throws SQLException { if (isBatchDisabled(row)) { // if there were some statements batched before, then // we need to flush them out first before processing the // current non batch process. flushBatch(); super.flushAndUpdate(row); } else { // process the SQL statement, either execute it immediately or // batch it for later execution. batchOrExecuteRow(row); } }
/** * Flush the given row immediately or deferred the flush in batch. */ protected void flushAndUpdate(RowImpl row) throws SQLException { if (isBatchDisabled(row)) { // if there were some statements batched before, then // we need to flush them out first before processing the // current non batch process. flushBatch(); super.flushAndUpdate(row); } else { // process the SQL statement, either execute it immediately or // batch it for later execution. batchOrExecuteRow(row); } }