recently I tried to use SpringBoot + JPA + H2 database. In application.properties, I configured the database connection
spring.datasource.url=jdbc:h2:tcp://localhost/D:/H2DataBase/DB/test;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE
but after starting the program, the console output is connected to memory mode, and the output is as follows:
Starting embedded database: url="jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false", username="sa"
Why does this happen? is there an error in the database connection to URL? How to solve? Thank you.