Hi again,
>>>>> "DJD" == Daniel John Debrunner <[EMAIL PROTECTED]> wrote:
DJD> > public boolean supportsConvert() {
DJD> > return true;
DJD> > }
DJD> >
DJD> > public boolean supportsConvert(int fromType, int toType) {
DJD> > /*
DJD> > * at the moment we don't support CONVERT at all, so we take the easy
DJD> > * way out. Eventually we need to figure out how to handle this
DJD> > * cleanly.
DJD> > */
DJD> > return false;
DJD> >
DJD> > JDBC 3.0 section 14.2.3.1 "Data Type Conversions" says this method
DJD> > should return true if the driver supports the respective getter method
DJD> > on the result set.
DJD>
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.
Dag