运行程序,在浏览器中打开:http://localhost:8080/h2-console/

注意:JDBC URL:jdbc:h2:mem:testdb

JDBC URL 也有可能在控制台编译时给出:

例如:H2 console available at '/h2-console'. Database available at 'jdbc:h2:mem:39abe92d-a8ed-441e-8667-a498101a9316'

更多推荐