// Doesn't support DISTINCT over LOB types
if (jdbcType == Types.CLOB || "NCLOB".equals(name)) {
return new SQLCharacterString(this, name, false);
}
if (jdbcType == Types.BLOB) {
return new SQLBinary(this, name, false);
}
// HSQLDB 2.2.8 reports INTERVAL types as VARCHAR
if (jdbcType == Types.VARCHAR && name.startsWith("INTERVAL")) {
return new SQLInterval(this, name);