code: @Override
    public long[] executeLargeBatch() throws SQLException {
      checkClose();
      int size;
      if (batchQueries == null || (size = batchQueries.size()) == 0) {
        return new long[0];
      }
  
      lock.lock();
      try {
        internalBatchExecution(size);
        return results.getCmdInformation().getLargeUpdateCounts();
  
      } catch (SQLException initialSqlEx) {
        throw executeBatchExceptionEpilogue(initialSqlEx, size);
      } finally {
        executeBatchEpilogue();
        lock.unlock();
      }
    }
docs: Execute batch, like executeBatch(), with returning results with long[]. For when row count may
  exceed Integer.MAX_VALUE.
  
  @return an array of update counts (one element for each command in the batch)
  @throws SQLException if a database error occur.