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

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
主站蜘蛛池模板: 达州市| 台前县| 册亨县| 西藏| 彰化市| 尼玛县| 饶平县| 平陆县| 江都市| 嘉峪关市| 永福县| 黑龙江省| 永川市| 富川| 石林| 昭苏县| 都兰县| 湛江市| 神木县| 铁岭市| 成武县| 淄博市| 田林县| 黔西县| 浮山县| 泰顺县| 清河县| 万源市| 鸡东县| 民勤县| 龙海市| 晋城| 隆昌县| 彭泽县| 鸡泽县| 岱山县| 石屏县| 合肥市| 万盛区| 和顺县| 河北区|