supportsConvert(int fromType, int toType)

Syntax:

boolean supportsConvert(int fromType,
                        int toType)
                        throws SQLException

Description:

Retrieves whether this database supports the JDBC scalar function CONVERT for conversions between the JDBC types fromType and toType. The JDBC types are the generic SQL data types defined in java.sql.Types.

Parameters:

fromType - the type to convert from; one of the type codes from the class java.sql.Types

toType - the type to convert to; one of the type codes from the class java.sql.Types

Returns:

true if so; false otherwise

Throws:

SQLException - if a database access error occurs