IBM DB2 Manual page 279

Table of Contents

Advertisement

Table 44. Support for DatabaseMetaData methods (continued)
JDBC method
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
getConnection
getLoginTimeout
getLogWriter
setLoginTimeout
setLogWriter
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
Methods inherited from
java.lang.Throwable
Methods inherited from
java.sql.SQLException
Methods inherited from
java.sql.SQLWarning
IBM Data Server
Driver for JDBC and
SQLJ support
Yes
Yes
Yes
2
Yes
Yes
IBM Data Server
Driver for JDBC and
SQLJ support
Yes
Yes
Yes
DB2 JDBC
Type 2 Driver
IBM Data
for Linux,
Server Driver
UNIX and
for JDBC and
Windows
SQLJ support
support
DB2 JDBC Type 2
Driver for Linux, UNIX
and Windows support
Yes
1
Yes
Yes
1
Yes
Yes
DB2 JDBC Type 2
Driver for Linux, UNIX
and Windows support
Yes
Yes
Yes
Chapter 7. JDBC and SQLJ reference information
IDS JDBC
Driver support
IDS JDBC Driver
support
Yes
Yes
Yes
Yes
Yes
IDS JDBC Driver
support
Yes
Yes
Yes
263

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents