tlias管理系统--事务管理-事务进阶-事务传播行为-propagation属性
This commit is contained in:
31
tlias-web-management/src/main/resources/application.yml
Normal file
31
tlias-web-management/src/main/resources/application.yml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
#mybatis连接数据源的配置
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://localhost:3306/tlias2
|
||||||
|
username: root
|
||||||
|
password: 1234
|
||||||
|
servlet:
|
||||||
|
multipart:
|
||||||
|
max-file-size: 10MB
|
||||||
|
max-request-size: 100MB
|
||||||
|
|
||||||
|
|
||||||
|
mybatis:
|
||||||
|
configuration:
|
||||||
|
map-underscore-to-camel-case: true #mybatis驼峰自动映射
|
||||||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #日志打印到控制台
|
||||||
|
#阿里云OSS文件上传配置
|
||||||
|
aliyun:
|
||||||
|
oss:
|
||||||
|
endpoint: https://oss-cn-hangzhou.aliyuncs.com
|
||||||
|
bucketName: inmind-test1
|
||||||
|
region: cn-hangzhou
|
||||||
|
|
||||||
|
|
||||||
|
#spring事务管理日志
|
||||||
|
logging:
|
||||||
|
level:
|
||||||
|
org.springframework.jdbc.support.JdbcTransactionManager: debug
|
||||||
Reference in New Issue
Block a user