Đang chuẩn bị liên kết để tải về tài liệu:
My SQL and Java Developer’s Guide phần 2
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Các trình điều khiển có thể được tìm thấy tại www.mysql.com / downloads / api-jdbc-stable.html và www.mysql.com / downloads / api-jdbc-dev.html, tương ứng. Người lái xe Connector / J đã bắt đầu như MM.MySQL (được viết bởi Mark Matthews) và đã được trình điều khiển JDBC chính cho MySQL. | Understanding Connector J 21 Figure 2.7 shows how the RowSet classes are constructed from the base Result and ResultSetMetaData classes. Figure 2.7 RowSet classes. Understanding Connector J Up to this point our discussion has centered on the general JDBC specification and its related interfaces and classes. In this section we turn our attention to MySQL s JDBC driver Connector J. At the time of this writing there are two versions of the driver 2.0.14 and 3.0.1. The drivers can be found at www.mysql.com downloads api-jdbc-stable.html and www.mysql.com down-loads api-jdbc-dev.html respectively. The Connector J driver started as MM.MySQL written by Mark Matthews and has been the primary JDBC driver for MySQL. During 2002 Mark joined the MySQL team and subsequently updated the driver and renamed it to Connec-tor J. The 2.0.14 version is basically the last MM.MySQL version made available on the mmmysql.sourceforge.net Web site. The 3.0.1 version contains numerous changes to the original code. These features will be discussed shortly. Connector J is designed specifically for MySQL and attempts to adhere to the JDBC API as much as possible. However in order for a driver to adhere to the full JDBC specification the underlying database must support all of the features supported in the latest 3.0 version. For MySQL and Connector J strict adherence is impossible because MySQL currently doesn t support stored procedures savepoints references and various other small pieces of functionality. These differences with the specification are noted in Appendix C. For the remainder of this book we use the latest 3.0 version of Connector J. 22 JDBC and Connector J JDBC Support within 3.0.1 As we mentioned earlier the Connector J JDBC driver is able to support only those features of the specification that the underlying MySQL database supports. Instead of explaining what is supported from the specification we document here what currently is not supported. From a class standpoint the .