if(_disableTypeCasting) {
if(disableTypeCasting()) {
    public String sqlStringForValue(Object v, String kp) {        if(_disableTypeCasting) {            return super.sqlStringForValue(v,kp);        }        EOAttribute attribute;        int lastDotIdx = kp.lastIndexOf(".");        if (lastDotIdx == -1) {            attribute = entity().attributeNamed(kp);        } else {            EOEntity kpEntity = entityForKeyPath(kp);            attribute = kpEntity.attributeNamed(kp.substring(lastDotIdx+1));        }        if(attribute != null && v != null && v != NSKeyValueCoding.NullValue) {            String s = columnTypeStringForAttribute(attribute);            return super.sqlStringForValue(v,kp) + "::" + s;        }                 return super.sqlStringForValue(v,kp);    }