/* Only allow comparison of Boolean with Boolean or string types */
return otherType.getSQLTypeName().equals(thisTypeId.getSQLTypeName()) ||
otherType.isStringTypeId() ||
otherType.isNumericTypeId() ||
(otherType.userType() &&
otherTypeCompiler.comparable(thisTypeId, forEquals, cf));
}
/**
* Tell whether this type (boolean) can be converted to the given type.
*