My Spring-Boot-Mvc-Web application has the following database configuration in application.properties file:
application.properties
spring.datasource.url=jdbc:h2:tcp://
If you use spring.jpa.hibernate.ddl-auto=create-drop should be enough to create/drop database?
spring.jpa.hibernate.ddl-auto=create-drop