From a74ff0931759a9f7fe15a0644d8ebaee0a625971 Mon Sep 17 00:00:00 2001 From: stendler <stendler@mi.fu-berlin.de> Date: Wed, 6 Dec 2017 23:14:03 +0100 Subject: [PATCH] remove dependency: spring-session as long as we don't use authentication (with eg. spring-security) we won't need a session for REST services. --- pom.xml | 4 ---- src/main/resources/application.properties | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 76997e1..412853c 100644 --- a/pom.xml +++ b/pom.xml @@ -37,10 +37,6 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> - <dependency> - <groupId>org.springframework.session</groupId> - <artifactId>spring-session</artifactId> - </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 042cc51..8589cfa 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,6 +2,5 @@ spring.datasource.url=jdbc:mysql://localhost:3306/memorybox?useUnicode=yes&c spring.datasource.username=memory spring.datasource.password=memory -spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.hibernate.ddl-auto=create -spring.session.store-type=jdbc -- GitLab