if (!(value instanceof String) && (_valueDateFormat != null))
if (!(value instanceof String) && (getValueDateFormat() != null))
    protected String getValueAsString(Column column, Object value)    {        if (value == null)        {            return "NULL";        }        StringBuffer result = new StringBuffer();        // TODO: Handle binary types (BINARY, VARBINARY, LONGVARBINARY, BLOB)        switch (column.getTypeCode())        {            // Note: TIMESTAMP (java.sql.Timestamp) is properly handled by its toString method            case Types.DATE:                result.append(getPlatformInfo().getValueQuoteToken());                if (!(value instanceof String) && (_valueDateFormat != null))                {                    // TODO: Can the format method handle java.sql.Date properly ?                    result.append(_valueDateFormat.format(value));                }                else                {                    result.append(value.toString());                }                result.append(getPlatformInfo().getValueQuoteToken());                break;            case Types.TIME:                result.append(getPlatformInfo().getValueQuoteToken());                if (!(value instanceof String) && (_valueTimeFormat != null))                {                    // TODO: Can the format method handle java.sql.Date properly ?                    result.append(_valueTimeFormat.format(value));                }                else                {                    result.append(value.toString());                }                result.append(getPlatformInfo().getValueQuoteToken());                break;            case Types.REAL:            case Types.NUMERIC:            case Types.FLOAT:            case Types.DOUBLE:            case Types.DECIMAL:                result.append(getPlatformInfo().getValueQuoteToken());                if (!(value instanceof String) && (_valueNumberFormat != null))                {                    result.append(_valueNumberFormat.format(value));                }                else                {                    result.append(value.toString());                }                result.append(getPlatformInfo().getValueQuoteToken());                break;            default:                result.append(getPlatformInfo().getValueQuoteToken());                result.append(escapeStringValue(value.toString()));                result.append(getPlatformInfo().getValueQuoteToken());                break;        }        return result.toString();    }