public void testOrderedByDatatype() throws Exception {
  int lastType=Integer.MIN_VALUE;
  while (typeInfoRs.next()) {
    String name=typeInfoRs.getString("TYPE_NAME");
    int type=typeInfoRs.getInt("DATA_TYPE");
    assertTrue("type " + type + " ("+ name+ ") less than last type "+ lastType,type >= lastType);
    lastType=type;
  }
}

public void testOrderedByDatatype ( ) throws Exception { int lastType = Integer . MIN_VALUE ; while ( typeInfoRs . next ( ) ) { String name = typeInfoRs . getString ( "TYPE_NAME" ) ; int type = typeInfoRs . getInt ( "DATA_TYPE" ) ; assertTrue ( "type " + type + " (" + name + ") less than last type " + lastType , type >= lastType ) ; lastType = type ; } }
check types ordered by data type .
