官术网_书友最值得收藏!

JDBC 4.0 support in IBM's DB2 UDB

IBM Data Server Driver for JDBC and SQLJ Version 4.0 supports the JDBC 4.0 specification. To use the JDBC 4.0 features, add the db2jcc4.jar file to the CLASSPATH environment variable. The JDBC 4.0 driver name is,"IBM Data Server Driver for JDBC and SQLJ" instead of the previous, "IBM DB2 JDBC Universal Driver Architecture". IBM Data Server Driver for JDBC and SQLJ supports most of the JDBC 4.0 features.

JDBC support has been added for the JDBC 4.0 java.sql.RowId interface for updating and retrieving data in ROWID columns. JDBC support has also been added for the java.sql.SQLXML interface for storing, updating, and retrieving data in XML columns. The IBM Data Server Driver for JDBC and SQLJ supports the following client info properties to identify the client connections:

  1. ApplicationName
  2. ClientAccountingInformation
  3. ClientHostname
  4. ClientUser

IBM Data Server Driver for JDBC and SQLJ supports the new SQLException subclasses, in the JDBC 4.0 specification. It also supports chained exceptions. The wrapper pattern is supported to access vendor-specific resources. The following IBM Data Server Driver for JDBC and SQLJ-specific interfaces in the com.ibm.db2.jcc package extend the Wrapper interface:

  1. DB2Connection
  2. DB2BaseDataSource
  3. DB2SimpleDataSource
  4. DB2Statement
  5. DB2ResultSet
  6. DB2DatabaseMetaData
主站蜘蛛池模板: 华池县| 恩施市| 库车县| 旌德县| 博兴县| 崇左市| 韩城市| 舟山市| 右玉县| 白山市| 陇川县| 农安县| 隆德县| 仪陇县| 天门市| 武定县| 耒阳市| 边坝县| 通道| 盖州市| 绥芬河市| 岳阳县| 宁化县| 双辽市| 苍南县| 花莲县| 辽宁省| 大同市| 澎湖县| 昌乐县| 鹤岗市| 民丰县| 东丽区| 武穴市| 开鲁县| 舞钢市| 山东| 德钦县| 济阳县| 曲水县| 谢通门县|