使用数据库
如果在创建的时候选择的数据库是SQL,如下
(7/13) Which *type* of database would you like to use? (Use arrow keys)
No database
> SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle)
MongoDB
Cassandra
并且开发模式选的是h2,如下
(9/13) Which *development* database would you like to use? (Use arrow keys)
> H2 with disk-based persistence
H2 with in-memory persistence
MySQL
那么dev模式的数据库就是h2数据库,可以通过 localhist:端口(例如:8080)\/h2-console进行访问
例如 localhost:8082\/h2-console