Changeset 7822 for trunk/config


Ignore:
Timestamp:
Jun 8, 2020, 1:32:37 PM (16 months ago)
Author:
Nicklas Nordborg
Message:

References #2214: Upgrade Hibernate and other 3-rd party components

Updated MySQL JDBC driver to 8.0.19. The 8.0.20 was also tested but there seems to be an issue with Date parameters in some queries: https://bugs.mysql.com/bug.php?id=99713

I have also changed the default configuration to use MySQL 8.

There was an issue with the TestChangeHistory.test_list_by_user() that sometimes worked and sometimes failed. The most likely reason is the filter on the current time which could be affected by rounding milliseconds up/down, so the timestamp used for filtering was modified by -1 second.

File:
1 edited

Legend:

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

    r7614 r7822  
    3636# MySQL
    3737# -----
    38 # db.dialect          = org.hibernate.dialect.MySQL5InnoDBDialect
    39 # db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true
     38# db.dialect          = org.hibernate.dialect.MySQL8Dialect
     39# db.url              = jdbc:mysql://localhost/base2?characterEncoding=UTF-8&useCursorFetch=true&defaultFetchSize=100&useServerPrepStmts=true&sslMode=DISABLED
    4040# db.dynamic.catalog  = base2dynamic
    4141# db.queries          = /mysql-queries.xml
Note: See TracChangeset for help on using the changeset viewer.