db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Dan's svn commit: r508418 - Mapping of DOUBLE to Types.INTEGER
Date Mon, 19 Feb 2007 17:32:43 GMT
Mamta Satoor wrote:
> Dan, your commit this morning had following change for "Given a valid 
> SQL type return the corresponding
> JDBC type identifier from java.sql.Types."
>  
> +        if ("DOUBLE".equals(type) || "DOUBLE PRECISION".equals(type))
> +            return Types.INTEGER;
>  
> Is Types.INTEGER the correct return value? Reference manual has a table 
> for Mapping of java.sql.Types to SQL types and it doesn't have INTEGER 
> for SQL type DOUBLE.

Thanks for noticing that! Anyone should feel free to fix issues if they 
see them, remember no code ownership :-)

Dan.


Mime
View raw message