From 90eee0e2d85a19774f9aac351c94cb0ac3d74fce Mon Sep 17 00:00:00 2001 From: Nanne Baars Date: Wed, 22 Mar 2017 17:04:44 +0100 Subject: [PATCH] Adding write_delay option to hsql database (otherwise users were not persisted in database correctly) --- webgoat-container/src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webgoat-container/src/main/resources/application.properties b/webgoat-container/src/main/resources/application.properties index 1c38cb01f..9d6ad7e56 100644 --- a/webgoat-container/src/main/resources/application.properties +++ b/webgoat-container/src/main/resources/application.properties @@ -32,7 +32,7 @@ webgoat.default.language=en liquibase.change-log=classpath:db/changelog/db.changelog-master.xml -spring.datasource.url=jdbc:hsqldb:file:${user.home}/.webgoat/WebGoatDatabase +spring.datasource.url=jdbc:hsqldb:file:${user.home}/.webgoat/WebGoatDatabase;hsqldb.write_delay=false spring.datasource.driverClassName=org.hsqldb.jdbcDriver spring.datasource.username=sa spring.datasource.password=