// TINYINT(1) is conventionally treated as BOOLEAN in MySQL.
// MySQL reports TINYINT(1) either as Types.BIT with size 0,
// or as Types.BIT with type name still TINYINT. All real BIT
// types are reported with a size > 0.
if (jdbcType == Types.BIT && ("TINYINT".equals(name) || size == 0)) {
return new SQLBoolean(this, name);
}
// MySQL supports UNSIGNED varieties of the integer types
if (name.contains("UNSIGNED")) {
return new SQLExactNumeric(this, name, jdbcType, true);