| JDBC 3.0 Section 13.2.2.1 specifies that table B-2 is used to specify type mappings
from the Java types (e.g. int as setInt) to the JDBC SQL Type (Types.INT).
This table does not include stream methods and does not include conversions
specified elsewhere in the text, Namely
Section 16.3.2
setBinaryStream may be used to set a BLOB
setAsciiStream and setCharacterStream may be used to set a CLOB
Thus this B2_MOD table is laid out like the B6 table and makes
the assumptions that
- Any Java numeric type can be used to set any SQL numeric type
- Any Java numeric type can be used to set any SQL CHAR type
- Numeric and date/time java types can be converted to SQL Char values.
|