Configuring H2 database in Spring boot

You must configure datasource to see the table you built

spring.datasource.url=jdbc:h2:file:~/test
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driver-class-name=org.h2.Driver

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326442730&siteId=291194637