Changeset 7518


Ignore:
Timestamp:
Nov 5, 2018, 1:09:42 PM (3 years ago)
Author:
Nicklas Nordborg
Message:

References #2130: Upgrade 3-rd party libraries

Updated MySQL JDBC driver to version 8.0.13. The main driver class has changed so this requires a configuration change in base.config: db.driver = com.mysql.cj.jdbc.Driver.

They have also changed the default value for nullCatalogMeansCurrent from true to false, which is affecting the installation since it will check and try to create things in other databases than what is specified in the connection URL. I think we have to update our code so that we always supply the current database name instead of null

Location:
trunk
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/dist/base.config

    r7494 r7518  
    2929# -----
    3030db.dialect          = org.hibernate.dialect.MySQL5InnoDBDialect
    31 db.driver           = com.mysql.jdbc.Driver
    32 db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true
     31db.driver           = com.mysql.cj.jdbc.Driver
     32db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true&nullCatalogMeansCurrent=true
    3333db.dynamic.catalog  = base2dynamic
    3434db.queries          = /mysql-queries.xml
  • trunk/doc/3rd-party-components.txt

    r7509 r7518  
    119119More info : http://www.mysql.com/products/connector/
    120120Version   : 5.1.35
    121 License   : GPLv2 (gpl-2.license.txt)
    122 Jar files : mysql-connector-java-5.1.35-bin.jar
     121License   : GPLv2 (mysql-connector-LICENSE.txt)
     122Jar files : mysql-connector-java-8.0.13.jar
    123123
    124124
Note: See TracChangeset for help on using the changeset viewer.