code: protected void checkForBatchSupport(Connection conn)
      {
          if (!m_batchUpdatesChecked)
          {
              DatabaseMetaData meta;
              try
              {
                  meta = conn.getMetaData();
                  m_supportsBatchUpdates = meta.supportsBatchUpdates();
              }
              catch (Throwable th)
              {
                  log.info("Batch support check failed", th);
                  m_supportsBatchUpdates = false;
              }
              finally
              {
                  m_batchUpdatesChecked = true;
              }
          }
      }
docs: Sets platform information for if the jdbc driver/db combo support
  batch operations. Will only be checked once, then have same batch
  support setting for the entire session.
  
  @param conn