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

JDBC 4.0 support in MySQL Database

MySQL database server provides support for the JDBC 4.0 specification in the Connector/J 5.1 JDBC drivers. MySQL's Connector/J 5.1 supports the JDBC 4.0 features, listed below:

  1. Auto-registration of the JDBC driver with the DriverManager via the J2SE Service Provider mechanism.
  2. Connection validity check using the isValid() method of the Connection interface.
  3. Categorized SQLExceptions based on recoverability or retry-ability, and class of the underlying error.
  4. Unwrapping of MySQL-specific extensions for JDBC.
  5. Support for SQLXML. MySQL database does not support the SQL: 2003 SQL data type XML. JDBC 4.0 specification does not specify that the SQL data type to store a SQLXML object is required to be the SQL: 2003 XML data type. MySQL's Connector/J 5.1 JDBC driver supports the SQLXML Java data type.
  6. Support for setting per-connection client info using the setClientInfo() method of the Connection interface.
  7. Support for National Character Set data types NCHAR, NVARCHAR, LONGNVARCHAR, and NCLOB.
主站蜘蛛池模板: 晋江市| 湘乡市| 株洲市| 乐山市| 建平县| 东莞市| 曲沃县| 齐齐哈尔市| 中江县| 上杭县| 清丰县| 平凉市| 马鞍山市| 山丹县| 紫阳县| 芷江| 凌源市| 额尔古纳市| 平武县| 巍山| 板桥市| 贺兰县| 神木县| 吉隆县| 肃南| 射洪县| 偃师市| 当阳市| 西平县| 嵊州市| 阿合奇县| 余江县| 大石桥市| 东港市| 金塔县| 津市市| 辽阳市| 紫云| 博爱县| 红原县| 吴忠市|