完善章节4单元测试

This commit is contained in:
bwh
2019-04-15 23:14:57 +08:00
parent 5b902de8c1
commit b107d49da3
11 changed files with 335 additions and 7 deletions

View File

@@ -1,2 +1,15 @@
## 开启 H2 数据库
spring.h2.console.enabled=true
## 配置 H2 数据库连接信息
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
## 是否显示 SQL 语句
spring.jpa.show-sql=true
spring.jpa.show-sql=true
hibernate.dialect=org.hibernate.dialect.H2Dialect
hibernate.hbm2ddl.auto=create