assertComparesLessThan(charType, nchar);
assertComparesLessThan(nchar, uniqueid);
}
public void testVarcharTypes() {
TypeInfo varchar = new TypeInfo("varchar", Types.VARCHAR, false);
// Following types are normalized to varchar
TypeInfo nvarchar = new TypeInfo("nvarchar", -9, false);
TypeInfo sysname = new TypeInfo("sysname", -9, false);
TypeInfo variant = new TypeInfo("sql_variant", -150, false);
assertComparesLessThan(varchar, nvarchar);
assertComparesLessThan(nvarchar, sysname);
assertComparesLessThan(sysname, variant);
}