Migrating to OpenJDK 11, which version of MySql connector is compatible for java 11?

让人想犯罪 __ 提交于 2019-12-06 11:05:53

问题


I am trying to migrate my application from Java 8 to OpenJDK 11. I used MySql connector version 5 and its working fine. Is it required to upgrade MySql connector JAR to version 8.0? I read about it from below link but they do not mentioned about Java 11.

https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-versions-java.html


回答1:


According to your reference, and this, we clearly can see that, MySQL connector version 5 uses JDBC version 3.0, 4.0, 4.1, 4.2.

MySQL connector version 8 uses JDB version 4.2.

Although JDBC version 4.2 supports JDK version 1.8.x, the new (for today) JDBC version 4.3 supports JDK version 9.

So, we wait new version of the JDBC, which supports JDK 11, then wait until MySQL supports new version of JDBC driver.



来源:https://stackoverflow.com/questions/54018163/migrating-to-openjdk-11-which-version-of-mysql-connector-is-compatible-for-java

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!