From 24ec12553abc9089dfb35b2a0d9fa7487d708519 Mon Sep 17 00:00:00 2001 From: Alex Prudencio Date: Mon, 5 Aug 2024 17:20:35 -0400 Subject: [PATCH] fix jpa --- src/main/resources/application.properties | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6298944..f9480c4 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,7 +10,10 @@ vaadin.allowed-packages = com.vaadin,org.vaadin,com.primefactorsolutions,com.hil # spring.datasource.url=jdbc:h2:mem:testdb -spring.datasource.url=jdbc:h2:file:/var/opt/pfs +spring.jpa.hibernate.ddl-auto=create-drop +spring.sql.init.mode=always +#spring.datasource.url=jdbc:h2:file:./db +spring.datasource.url=jdbc:h2:file:/var/opt/pfs/db spring.datasource.driverClassName=org.h2.Driver spring.datasource.username=sa spring.datasource.password=sa