From 5596275dc68901bf4668e07d31cae5e7ae428def Mon Sep 17 00:00:00 2001 From: Anthony Dahanne Date: Tue, 22 Aug 2023 20:47:26 -0400 Subject: [PATCH] Remove confusing MysqlDialect version * Spring Boot supposedly decides the best; verified using spring-music; removing the dialect fixed an issue with: ``` org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable to resolve name [org.hibernate.dialect.MySQL55Dialect] as strategy [org.hibernate.dialect.Dialect] ``` * Also put in comments helpful actuator params --- src/main/resources/application.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b1fe20272..f973e8012 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -10,6 +10,12 @@ management: endpoint: health: show-details: always +# configprops: +# show-values: always +# keys-to-sanitize: +# env: +# show-values: always +# keys-to-sanitize: --- spring: @@ -31,10 +37,6 @@ spring: driver-class-name: com.mysql.jdbc.Driver username: password: - jpa: - properties: - hibernate: - dialect: org.hibernate.dialect.MySQL55Dialect --- spring: