[jdbc] Fix MySQL deprecation notice on startup (#13660)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
db0ca281ca
commit
2c30756fdd
@ -165,7 +165,7 @@ public class JdbcBaseDAO {
|
||||
* HSQLDB: org.hsqldb.jdbcDriver
|
||||
* Jaybird: org.firebirdsql.jdbc.FBDriver
|
||||
* MariaDB: org.mariadb.jdbc.Driver
|
||||
* MySQL: com.mysql.jdbc.Driver
|
||||
* MySQL: com.mysql.cj.jdbc.Driver
|
||||
* MaxDB: com.sap.dbtech.jdbc.DriverSapDB
|
||||
* PostgreSQL: org.postgresql.Driver
|
||||
* SyBase: com.sybase.jdbc3.jdbc.SybDriver
|
||||
|
||||
@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory;
|
||||
*/
|
||||
@NonNullByDefault
|
||||
public class JdbcMysqlDAO extends JdbcBaseDAO {
|
||||
private static final String DRIVER_CLASS_NAME = com.mysql.jdbc.Driver.class.getName();
|
||||
private static final String DRIVER_CLASS_NAME = com.mysql.cj.jdbc.Driver.class.getName();
|
||||
@SuppressWarnings("unused")
|
||||
private static final String DATA_SOURCE_CLASS_NAME = com.mysql.cj.jdbc.MysqlDataSource.class.getName();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user