I set up Spring-boot to work with H2 in-memory database
application.properties
file is in the /config
directory
and it looks like, this file is process
Resolved the issue.
The spring boot app requires its ownd jdbc dependency
org.springframework.boot
spring-boot-starter-jdbc
NON-boot dependency, that I had, is NOT enough alone:
org.springframework
spring-jdbc
Without the "spring-boot-starter-jdbc" dependency "spring.datasource.url" settings in file "application.properties" are not processed. That file is actually processed, but not the jdbc settings. Spring boot will create its own testdb in the memory, which destroys the data after closing the application.