SyntaxFix
Write A Post
Hire A Developer
Questions
Check spring application.properties
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
here testdb is database defined Make sure h2 console have same value while connecting other wise it will connect to default db