MySQL :: MySQL Connector/J 6.0 Developer Guide :: 4.3.1.3 Changes in the Connector/J API
This section describes the changes to the Connector/J API going from version 5.1 to 6.0. You might need to adjust your API calls accordingly:
The name of the class that implements
java.sql.Driverin MySQL Connector/J has changed fromcom.mysql.jdbc.Drivertocom.mysql.cj.jdbc.Driver. The old class name has been deprecated.-
The names of these commonly-used interfaces have also been changed:
ExceptionInterceptor: from
com.mysql.jdbc.ExceptionInterceptortocom.mysql.cj.api.exceptions.ExceptionInterceptorStatementInterceptor: from
com.mysql.jdbc.StatementInterceptorV2to com.mysql.cj.api.jdbc.interceptors.StatementInterceptorV2ConnectionLifecycleInterceptor: from
com.mysql.jdbc.ConnectionLifecycleInterceptortocom.mysql.cj.api.jdbc.interceptors.ConnectionLifecycleInterceptorAuthenticationPlugin: from
com.mysql.jdbc.AuthenticationPlugintocom.mysql.cj.api.authentication.AuthenticationPluginBalanceStrategy: from
com.mysql.jdbc.BalanceStrategytocom.mysql.cj.api.jdbc.ha.BalanceStrategy.
Read full article from MySQL :: MySQL Connector/J 6.0 Developer Guide :: 4.3.1.3 Changes in the Connector/J API
No comments:
Post a Comment