Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 1de4a760080c08a6ba7da7d2fa423d0f906458d3
https://github.com/hibernate/hibernate-orm/commit/1de4a760080c08a6ba7da7d...
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