db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: [jira] Created: (DERBY-447) getBoolean() throws data conversion exception for DECIMAL type in J2ME/CDC/Foundation
Date Fri, 08 Jul 2005 18:15:16 GMT
Dag H. Wanvik wrote:

> DJD> There's some inconsistency here, the ResultSet getter methods are
> DJD> converting from SQL data types to Java data types. This supportsConvert
> DJD> method takes two arguments, both of which describe SQL data types.
> 
> Yes, you are right. Something for Lance to clarify :) 
> But it would seem the no-args supportsConvert() should return false
> until we add support for CONVERT.

And just to be clear, this is the JDBC CONVERT function from section C.5
of JDBC 3.0, correct?

I think there is some issue with CONVERT in JDBC 4.0, where the format
of the second argument is changing, from INTEGER to SQL_INTEGER or
something like that?

Dan.


Mime
View raw message