Table 40. Support for Connection 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
setTypeMap No No Yes
Notes:
1. This is a JDBC 4.0 method.
2. The DB2 JDBC Type 2 Driver for Linux, UNIX and Windows does not support the JDBC 3.0 forms of this method.
3. This is a JDBC 4.0 method.
4. Under IBM Data Server Driver for JDBC and SQLJ type 4 connectivity, an SQLException is thrown if the timeout
parameter value is less than 0. Under IBM Data Server Driver for JDBC and SQLJ type 2 connectivity, an
SQLException is thrown if the if the timeout parameter value is not 0.
5. If the stored procedure in the CALL statement is on DB2 for z/OS, the parameters of the CALL statement cannot
be expressions.
6. The driver does not use the setting. For the IBM Data Server Driver for JDBC and SQLJ, a connection can be set
as read-only through the readOnly property for a Connection or DataSource object.
7. This method is not supported for connections to IBM Informix Dynamic Server.
Table 41. Support for ConnectionEvent 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.util.EventObject
Yes Yes Yes
getSQLException Yes Yes Yes
Table 42. Support for ConnectionEventListener 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
connectionClosed Yes Yes Yes
connectionErrorOccurred Yes Yes Yes
Table 43. Support for ConnectionPoolDataSource 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
getLoginTimeout Yes Yes Yes
getLogWriter Yes Yes Yes
getPooledConnection Yes Yes Yes
setLoginTimeout Yes
1
Yes Yes
setLogWriter Yes Yes Yes
Note:
1. This method is not supported for IBM Data Server Driver for JDBC and SQLJ type 2 connectivity on DB2 for
z/OS.
Chapter 7. JDBC and SQLJ reference information 257
|
|
|