最新 JDBC 驱动包下载,mysql-connector-java-8.0.27.jar 官方版,MySQL 8及以上
使用方法:
Class.forName("com.mysql.cj.jdbc.Driver");
注意:和以前版本驱动类名有所不同。
下载文件中包括 JDBC 驱动包、源码文件和相关文档:
Version 8.0.27
- Fix for Bug#103612 (32902019), Incorrectly identified WITH...SELECT as unsafe for read-only connections.
- Fix for Bug#71929 (18346501), Prefixing query with double comments cancels query DML validation.
- Fix for Bug#23204652, CURSOR POSITIONING API'S DOESNOT CHECK THE VALIDITY OF RESULTSET.
- Fix for Bug#28725534, MULTI HOST CONNECTION WOULD BLOCK IN CONNECTION POOLING.
- Fix for Bug#95139 (29807572), CACHESERVERCONFIGURATION APPEARS TO THWART CHARSET DETECTION.
- Fix for Bug#104641 (33237255), DatabaseMetaData.getImportedKeys can return duplicated foreign keys.
- Fix for Bug#33185116, Have method ResultSet.getBoolean() supporting conversion of 'T' and 'F' in a VARCHAR to True/False (boolean).
- Fix for Bug#31117686, PROTOCOL ALLOWLIST NOT COMPATIBLE WITH IBM JAVA.
- Fix for Bug#104559 (33232419), ResultSet.getObject(i, java.util.Date.class) throws NPE when the value is null.
- WL#14707, Support OCI IAM authentication.
- WL#14660, Testsuite with support for single MySQL server instance.
- Fix for Bug#103878 (32954449), CONNECTOR/J 8 : QUERY WITH 'SHOW XXX' WILL GET EXCEPTION WHEN USE CURSOR.
- Fix for Bug#103796 (32922715), CONNECTOR/J 8 STMT SETQUERYTIMEOUT CAN NOT WORK.
Thanks to Hong Wang for his contribution.
- Fix for Bug#104170 (33064455), CONTRIBUTION: CLIENTPREPAREDSTMT: LEAVE CALENDAR UNTOUCHED.
Thanks to Björn Michael for his contribution.
- Fix for Bug#95564 (29894324), createDatabaseIfNotExist is not working for databases with hyphen in name.
Thanks to Lukasz Sanek for his contribution.
本文系作者在时代Java发表,未经许可,不得转载。
如有侵权,请联系nowjava@qq.com删除。