feat: Spring Boot 学习脚手架 v2.0
- 新增 IoC 容器学习模块 - 新增 AOP 切面编程学习模块 - 新增 MyBatis 集成学习模块 - 新增事务管理学习模块 - 新增用户/产品/订单 CRUD - 新增 7 个交互式学习页面 - 集成性能监控切面
This commit is contained in:
22
target/classes/application.properties
Normal file
22
target/classes/application.properties
Normal file
@@ -0,0 +1,22 @@
|
||||
spring.application.name=springboot-scaffold
|
||||
server.port=8082
|
||||
|
||||
# H2 Database
|
||||
spring.h2.console.enabled=true
|
||||
spring.datasource.url=jdbc:h2:file:~/h2/springboot_scaffold
|
||||
spring.datasource.driverClassName=org.h2.Driver
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=
|
||||
|
||||
# JPA
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.properties.hibernate.format_sql=true
|
||||
|
||||
# MyBatis
|
||||
mybatis.configuration.map-underscore-to-camel-case=true
|
||||
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
|
||||
# Logging
|
||||
logging.level.com.example.scaffold=DEBUG
|
||||
logging.level.org.springframework.transaction.interceptor=TRACE
|
||||
Reference in New Issue
Block a user