From 0f2a12646be65561a9308123e5d56cde1ff9d352 Mon Sep 17 00:00:00 2001 From: Markus Kreth Date: Tue, 22 Jan 2019 02:47:19 +0100 Subject: [PATCH] switch to jndi datasource --- src/main/resources/application.properties | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a4c4fb1..0f56d21 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,4 @@ -spring.datasource.url=jdbc:mysql://localhost:3306/clubhelper?useUnicode=yes;characterEncoding=utf8 -spring.datasource.username=markus -spring.datasource.password=0773 +spring.datasource.jndi-name=jdbc/clubhelperbackend spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy