Search code examples
spring-boothsqldb

Prevent spring-boot-devtools from shutting down HSQL (server mode)


I use Spring Boot 1.3.8.RELEASE and spring-boot-devtools together with HSQL in server mode:

spring.datasource.url=jdbc:hsqldb:hsql://localhost/dbname

Unforunately, spring-boot-devtools seems to SHUTDOWN the database server when the application exits (or the application context is refreshed). Is it possible to prevent this?


Solution

  • This was caused by a bug in spring-boot-devtools that was fixed in Spring Boot v1.4.6.RELEASE.