tailieunhanh - My SQL and Java Developer’s Guide phần 2
Các trình điều khiển có thể được tìm thấy tại / downloads / và / downloads / , tương ứng. Người lái xe Connector / J đã bắt đầu như (đượ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 shows how the RowSet classes are constructed from the base Result and ResultSetMetaData classes. Figure 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 and . The drivers can be found at downloads and down-loads respectively. The Connector J driver started as 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 version is basically the last version made available on the Web site. The 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 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 version of Connector J. 22 JDBC and Connector J JDBC Support within 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 .
đang nạp các trang xem trước