From 6e6e2f5480d504aa9e8aec8b81ab171b01ca2d94 Mon Sep 17 00:00:00 2001 From: Markus Kreth Date: Sun, 13 Jan 2019 22:37:55 +0100 Subject: [PATCH] Refactoring settings --- pom.xml | 2 +- src/main/resources/application.properties | 7 ++++--- src/main/resources/hibernate.cfg.xml | 9 +++++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index c20fb37..32c2f70 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.kreth.vaadin.clubhelper vaadin-clubhelper - 1.0.1-SNAPSHOT + 1.0.2-SNAPSHOT war vaadin-clubhelper diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 021d252..9882abc 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,9 +1,10 @@ spring.datasource.url=jdbc:mysql://localhost:3306/clubhelper?useUnicode=yes&characterEncoding=utf8&serverTimezone=Europe/Berlin spring.datasource.username=markus spring.datasource.password=0773 -security.ignored=/** -security.basic.enable=false -management.security.enabled=false +#security.ignored=/** +#security.basic.enable=false +#management.security.enabled=false +spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl \ No newline at end of file diff --git a/src/main/resources/hibernate.cfg.xml b/src/main/resources/hibernate.cfg.xml index 6f0427f..a41d1d7 100644 --- a/src/main/resources/hibernate.cfg.xml +++ b/src/main/resources/hibernate.cfg.xml @@ -5,17 +5,18 @@ - + + --> + true true true - org.hibernate.context.internal.ThreadLocalSessionContext + org.hibernate.context.internal.JTASessionContext