Table 44. Support for DatabaseMetaData methods (continued)
JDBC method
IBM Data
Server Driver
for JDBC and
SQLJ support
DB2 JDBC
Type 2 Driver
for Linux,
UNIX and
Windows
support
IDS JDBC
Driver support
Notes:
1. DB2 data sources return false for this method. IDS data sources return true.
2. This method is supported for connections to DB2 Database for Linux, UNIX, and Windows and IDS only.
3. Under the IBM Data Server Driver for JDBC and SQLJ, DB2 data sources and IDS data sources return true for
this method. Under the IDS JDBC Driver, IDS data sources return false.
4. Under the IBM Data Server Driver for JDBC and SQLJ, DB2 data sources and IDS data sources return false for
this method. Under the IDS JDBC Driver, IDS data sources return true.
5. DB2 data sources return true for this method. IDS data sources return false.
6. This is a JDBC 4.0 method.
7. This method returns the additional column that is described by the JDBC 4.0 specification.
8. JDBC 3.0 and earlier implementations of the IBM Data Server Driver for JDBC and SQLJ return ″IBM DB2 JDBC
Universal Driver Architecture.″
The JDBC 4.0 implementation of the IBM Data Server Driver for JDBC and SQLJ returns ″ IBM Data Server
Driver for JDBC and SQLJ.″
9. The JDBC 4.0 form and previous forms of this method are supported.
10. The DB2 JDBC Type 2 Driver for Linux, UNIX and Windows does not support the JDBC 3.0 form of this
method.
11. The method can be executed, but it returns an empty ResultSet.
Table 45. Support for DataSource methods
JDBC method
IBM Data Server
Driver for JDBC and
SQLJ support
DB2 JDBC Type 2
Driver for Linux, UNIX
and Windows support
IDS JDBC Driver
support
getConnection Yes Yes Yes
getLoginTimeout Yes Yes
1
Yes
getLogWriter Yes Yes Yes
setLoginTimeout Yes
2
Yes
1
Yes
setLogWriter Yes Yes Yes
Notes:
1. The DB2 JDBC Type 2 Driver does not use this setting.
2. This method is not supported for IBM Data Server Driver for JDBC and SQLJ type 2 connectivity on DB2 for
z/OS.
Table 46. Support for DataTruncation methods
JDBC method
IBM Data Server
Driver for JDBC and
SQLJ support
DB2 JDBC Type 2
Driver for Linux, UNIX
and Windows support
IDS JDBC Driver
support
Methods inherited from
java.lang.Throwable
Yes Yes Yes
Methods inherited from
java.sql.SQLException
Yes Yes Yes
Methods inherited from
java.sql.SQLWarning
Yes Yes Yes
Chapter 7. JDBC and SQLJ reference information 263