docs: Integer getSqlDataType() {
  
          // values from SQL200n SQL CLI spec, or DITypes (which in turn borrows
          // first from java.sql.Types and then SQL200n SQL CLI spec) if there
          // was no corresponding value in SQL CLI
          switch (type) {
  
              case Types.SQL_ARRAY :
                  return ValuePool.getInt(Types.SQL_ARRAY);           // SQL_ARRAY
  
              case Types.SQL_BIGINT :
                  return ValuePool.getInt(Types.SQL_BIGINT);          // SQL_BIGINT
  
              case Types.SQL_BINARY :
                  return ValuePool.getInt(Types.SQL_BLOB);            // fredt- was SQL_BIT_VARYING
  
              case Types.SQL_BOOLEAN :
                  return ValuePool.getInt(Types.SQL_BOOLEAN);         // SQL_BOOLEAN
  
              case Types.SQL_BLOB :
                  return ValuePool.getInt(Types.SQL_BLOB);            // SQL_BLOB
  
              case Types.SQL_CHAR :
                  return ValuePool.getInt(Types.SQL_CHAR);            // SQL_CHAR
  
              case Types.SQL_NCHAR :
                  return ValuePool.getInt(Types.SQL_NCHAR);
  
              case Types.SQL_CLOB :
                  return ValuePool.getInt(Types.SQL_CLOB);            // SQL_CLOB
  
              case Types.NCLOB :
                  return ValuePool.getInt(Types.SQL_CLOB);            // N/A : SQL_CLOB
  
              case Types.SQL_DATALINK :
                  return ValuePool.getInt(Types.SQL_DATALINK);        // SQL_DATALINK
  
              case Types.SQL_DATE :
  
                  // NO:  This is the _concise_ code, whereas what we want to
                  //      return here is the Data Type Code column value from
                  //      Table 38 in the SQL 200n FCD.  This method is used
                  //      by DatabaseInformationMain to list the sql type
                  //      column in the SYSTEM_TYPEINFO table, which is specified
                  //      by JDBC as the sql data type code, not the concise code.
                  //      That is why there is a sql datetime sub column
                  //      specified as well.
                  // return ValuePool.getInt(Types.SQL_DATE);         // fredt - was SQL_DATETIME
                  return ValuePool.getInt(Types.SQL_DATETIME);
  
              case Types.SQL_DECIMAL :
                  return ValuePool.getInt(Types.SQL_DECIMAL);         // SQL_DECIMAL
  
              case Types.DISTINCT :
                  return ValuePool.getInt(Types.SQL_UDT);             // SQL_UDT
  
              case Types.SQL_DOUBLE :
                  return ValuePool.getInt(Types.SQL_DOUBLE);          // SQL_DOUBLE
  
              case Types.SQL_FLOAT :
                  return ValuePool.getInt(Types.SQL_FLOAT);           // SQL_FLOAT
  
              case Types.SQL_INTEGER :
                  return ValuePool.getInt(Types.SQL_INTEGER);         // SQL_INTEGER
  
              case Types.JAVA_OBJECT :
                  return ValuePool.getInt(Types.JAVA_OBJECT);         // N/A - maybe SQL_UDT?
  
              case Types.SQL_ALL_TYPES :
                  return ValuePool.getInt(Types.SQL_ALL_TYPES);       // SQL_ALL_TYPES
  
              case Types.SQL_NUMERIC :
                  return ValuePool.getInt(Types.SQL_NUMERIC);         // SQL_NUMERIC
  
              case Types.OTHER :
                  return ValuePool.getInt(Types.OTHER);               // N/A - maybe SQL_UDT?
  
              case Types.SQL_REAL :
                  return ValuePool.getInt(Types.SQL_REAL);            // SQL_REAL
  
              case Types.ROWID :
                  return ValuePool.getInt(Types.SQL_GUID);
  
              case Types.SQL_REF :
                  return ValuePool.getInt(Types.SQL_REF);             // SQL_REF
  
              case Types.SQL_SMALLINT :
                  return ValuePool.getInt(Types.SQL_SMALLINT);        // SQL_SMALLINTEGER
  
              case Types.STRUCT :
                  return ValuePool.getInt(Types.SQL_UDT);             // SQL_UDT
  
              case Types.SQL_TIME :
  
                  // NO:  This is the _concise_ code, whereas what we want to
                  //      return here is the Data Type Code column value from
                  //      Table 38 in the SQL 200n FCD.  This method is used
                  //      by DatabaseInformationMain to list the sql type
                  //      column in the SYSTEM_TYPEINFO table, which is specified
                  //      by JDBC as the sql data type code, not the concise code.
                  //      That is why there is a sql datetime sub column
                  //      specified as well.
                  // return ValuePool.getInt(Types.SQL_TIME);         // fredt - was SQL_DATETIME
                  return ValuePool.getInt(Types.SQL_DATETIME);
  
              case Types.SQL_TIMESTAMP :
  
                  // NO:  This is the _concise_ code, whereas what we want to
                  //      return here is the Data Type Code column value from
                  //      Table 38 in the SQL CLI 200n FCD.  This method is used
                  //      by DatabaseInformationMain to list the sql type
                  //      column in the SYSTEM_TYPEINFO table, which is specified
                  //      by JDBC as the sql data type code, not the concise code.
                  //      That is why there is a sql datetime sub column
                  //      specified as well.
                  // return ValuePool.getInt(Types.SQL_TIMESTAMP);    // fredt - was SQL_DATETIME
                  return ValuePool.getInt(Types.SQL_DATETIME);
  
              case Types.TINYINT :
                  return ValuePool.getInt(Types.TINYINT);             // N/A
  
              case Types.SQL_VARBINARY :
                  return ValuePool.getInt(Types.SQL_BLOB);            // SQL_BIT_VARYING
  
              case Types.SQL_VARCHAR :
                  return ValuePool.getInt(Types.SQL_VARCHAR);         // SQL_VARCHAR
  
              case Types.VARCHAR_IGNORECASE :
                  return ValuePool.getInt(Types.SQL_VARCHAR);         // SQL_VARCHAR
  
              case Types.SQL_NVARCHAR :
                  return ValuePool.getInt(Types.SQL_NVARCHAR);
  
              case Types.SQL_XML :
                  return ValuePool.getInt(Types.SQL_XML);             // SQLXML
  
              default :
                  return null;
          }
      }