Skip to content

Commit

Permalink
Upgrade MySQL JDBC driver to 8.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Mar 12, 2019
1 parent b905666 commit ef59f9b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion libraries.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ext {
vaadinVersion = '8.7.0'
nettyVersion = '4.1.24.Final'
httpAsyncClientVersion = '4.1.4'
mysqlJDBCVersion = '8.0.15'

libraries = [
//jUnit (Tests)
Expand Down Expand Up @@ -48,7 +49,7 @@ ext {

//Supported Databases
jdbcH2: 'com.h2database:h2:1.4.189',
jdbcMysql: 'mysql:mysql-connector-java:5.1.36',
jdbcMysql: "mysql:mysql-connector-java:${mysqlJDBCVersion}",
jdbcPostgresql: 'org.postgresql:postgresql:42.1.1',
jdbcMssql: 'com.microsoft.sqlserver:mssql-jdbc:6.1.0.jre8',

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ hibernate.connection.password=password
# hibernate.hbm2ddl.auto=validate
#
hibernate.connection.url=jdbc:mysql://localhost/jposee?autoReconnect=true
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
#
2 changes: 1 addition & 1 deletion modules/testbed/src/dist/cfg/db.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ hibernate.connection.password=password
# hibernate.hbm2ddl.auto=validate
#
hibernate.connection.url=jdbc:mysql://localhost/jposee?autoReconnect=true
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
#

0 comments on commit ef59f9b

Please sign in to comment.