docs: public void beforeBatch(PreparedStatement stmt) throws PlatformException
      {
          // Check for Oracle batching support
          final Method methodSetExecuteBatch;
          final Method methodSendBatch;
          methodSetExecuteBatch = ClassHelper.getMethod(stmt, "setExecuteBatch", PARAM_TYPE_INTEGER);
          methodSendBatch = ClassHelper.getMethod(stmt, "sendBatch", null);
  
          final boolean statementBatchingSupported = methodSetExecuteBatch != null && methodSendBatch != null;
          if (statementBatchingSupported)
          {
              try
              {
                  // Set number of statements per batch
                  methodSetExecuteBatch.invoke(stmt, PARAM_STATEMENT_BATCH_SIZE);
                  m_batchStatementsInProgress.put(stmt, methodSendBatch);
              }
              catch (Exception e)
              {
                  throw new PlatformException(e.getLocalizedMessage(), e);
              }
          }
          else
          {
              super.beforeBatch(stmt);
          }
      }