Branch: refs/heads/6.2
Home:
https://github.com/hibernate/hibernate-orm
Commit: a8eb20533236d6f67a014f03d0848bada57d2efb
https://github.com/hibernate/hibernate-orm/commit/a8eb20533236d6f67a014f0...
Author: Davide D'Alto <davide(a)hibernate.org>
Date: 2023-04-06 (Thu, 06 Apr 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SimpleDatabaseVersion.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/dialect/HANADialectTestCase.java
Log Message:
-----------
HHH-16444 When logging the selected dialect, log the db version too
The db version used by the dialect makes a huge different on the
sql queries used.
The log before this commit:
```
INFO SQL dialect [vert.x-worker-thread-0] HHH000400: Using dialect:
org.hibernate.dialect.MariaDBDialect
```
The log after this commit:
```
INFO SQL dialect [vert.x-worker-thread-0] HHH000400: Using dialect:
org.hibernate.dialect.MariaDBDialect, version: 10.11
```
I've also updated the HANADialectTestCase because now the error message
contains the db version