From 5a18e66a48d141239f49471f58cbdfbbfdae1a85 Mon Sep 17 00:00:00 2001 From: Michael Schnell Date: Sat, 28 Dec 2019 12:53:09 +0100 Subject: [PATCH] Additional config for JPA --- spring-boot/query/src/main/resources/application.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot/query/src/main/resources/application.properties b/spring-boot/query/src/main/resources/application.properties index 72300df..7ba5af8 100644 --- a/spring-boot/query/src/main/resources/application.properties +++ b/spring-boot/query/src/main/resources/application.properties @@ -4,6 +4,10 @@ spring.datasource.driverClassName=org.mariadb.jdbc.Driver spring.datasource.username=mary spring.datasource.password=abc spring.jpa.database-platform=org.hibernate.dialect.MySQL55Dialect +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.show-sql=false +spring.h2.console.enabled=false server.port = 8080 spring.http.converters.preferred-json-mapper=jsonb +spring.jpa.open-in-view=false