What is the jdbc driver “org.gjt.mm.mysql.Driver” for?

亡梦爱人 提交于 2019-11-26 14:29:21

问题


After taking over a coworker's project I noticed he was using "org.gjt.mm.mysql.Driver" as the jdbc driver for MySQL 5 instead of the more common one "com.mysql.jdbc.Driver". They both are contained in the driver I found on Maven central that appears to be the standard distribution of the driver.

When I look up gjt.org I found some old site that talks about "Mark's mysql driver".

http://gjt.org/


回答1:


The MySQL JDBC driver was initially developed by a hobbyist. It's later donated to MySQL where they renamed the package/classname. The old classname is kept for backwards compatibility reasons, but if you can, you should update it to com.mysql.jdbc.Driver as soon as possible.



来源:https://stackoverflow.com/questions/5808160/what-is-the-jdbc-driver-org-gjt-mm-mysql-driver-for

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