LocalDateCustomSessionLevelTimeZoneTest fails with mysql 5.5 and 5.7

Description

org.hibernate.test.timestamp.LocalDateCustomSessionLevelTimeZoneTest.classMethod

There are likely two issues:

  1. in test, CONVERT_TO_NULL is added only for MySQL8Dialect +, older dialects uses convertToNull

  2. NPE in org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator

real error is

Environment

MySQL 5.5 - org.hibernate.dialect.MySQL5InnoDBDialect (I know I should have used MySQL55Dialect)
MySQL 5.7 - org.hibernate.dialect.MySQL57Dialect

mysql-connector-java-8.0.11.jar

Status

Assignee

Guillaume Smet

Reporter

Martin Šimka

Fix versions

Labels

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

Components

Affects versions

Priority

Major
Configure