return Double.valueOf(textRep);
targetClass = Double.class; break;
    public Object convertFromString(String textRep, int sqlTypeCode) throws Exception    {        if (textRep == null)        {            return null;        }        else        {            if (Jdbc3Utils.supportsJava14JdbcTypes() &&                (sqlTypeCode == Jdbc3Utils.determineBooleanTypeCode()))            {                return Boolean.valueOf(textRep);            }            switch (sqlTypeCode)            {                case Types.BIGINT:                    return Long.valueOf(textRep);                case Types.BIT:                    int value = Byte.parseByte(textRep);                    if (value == 0)                    {                        return Boolean.FALSE;                    }                    else if (value == 1)                    {                        return Boolean.TRUE;                    }                    else                    {                        throw new IllegalArgumentException("Cannot convert string "+textRep);                    }                case Types.DECIMAL:                case Types.NUMERIC:                    return new BigDecimal(textRep);                case Types.DOUBLE:                case Types.FLOAT:                    return Double.valueOf(textRep);                case Types.INTEGER:                    return Integer.valueOf(textRep);                case Types.REAL:                    return Float.valueOf(textRep);                case Types.SMALLINT:                case Types.TINYINT:                    return Short.valueOf(textRep);                default:                    return textRep;            }        }    }