@Override
public DataType getDataType(int jdbcType, String name, int size) {
// MS SQLServer 2008 driver returns DATE as VARCHAR type
if (name.equals("DATE")) {
return new SQLDate(this, name);
}
// On SQL Server, BIT is a single-bit numeric type
if (jdbcType == Types.BIT) {
return new SQLServerCompatibilityBitDataType(this);