优化 spring boot 3.4 jta 事务
This commit is contained in:
@@ -129,13 +129,6 @@
|
||||
<version>${project.parent.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- JTA 事务(当 spring.jta.enabled 为 true 的时候开启,不使用 jta 的时候不要引入该依赖)
|
||||
<dependency>
|
||||
<groupId>com.atomikos</groupId>
|
||||
<artifactId>transactions-spring-boot3-starter</artifactId>
|
||||
<version>${atomikos.version}</version>
|
||||
</dependency> -->
|
||||
|
||||
<!-- ELK 日志收集 -->
|
||||
<dependency>
|
||||
<groupId>net.logstash.logback</groupId>
|
||||
|
||||
@@ -98,7 +98,7 @@ spring:
|
||||
# maxPoolSize: 20
|
||||
# keepAliveSeconds: 60
|
||||
|
||||
# JTA XA 事务(spring boot 3) 请在 jeesite-module-core/pom.xml 中打开 atomikos 依赖
|
||||
# JTA XA 事务(spring boot 3)
|
||||
jta:
|
||||
enabled: false
|
||||
|
||||
|
||||
@@ -280,7 +280,7 @@ spring:
|
||||
pathmatch:
|
||||
matching-strategy: ANT_PATH_MATCHER
|
||||
|
||||
# JTA XA 事务(spring boot 3) 请在 jeesite-module-core/pom.xml 中打开 atomikos 依赖
|
||||
# JTA XA 事务(spring boot 3)
|
||||
jta:
|
||||
enabled: false
|
||||
|
||||
|
||||
@@ -220,7 +220,7 @@ jdbc:
|
||||
# ds2:
|
||||
# type: mysql
|
||||
# driver: com.mysql.cj.jdbc.Driver
|
||||
# url: jdbc:mysql://127.0.0.1:3306/jeesite2?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
|
||||
# url: jdbc:mysql://127.0.0.1:3306/jeesite_test?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
|
||||
# username: root
|
||||
# password: 123456
|
||||
# testSql: SELECT 1
|
||||
@@ -280,7 +280,7 @@ spring:
|
||||
pathmatch:
|
||||
matching-strategy: ANT_PATH_MATCHER
|
||||
|
||||
# JTA XA 事务(spring boot 3) 请在 jeesite-module-core/pom.xml 中打开 atomikos 依赖
|
||||
# JTA XA 事务(spring boot 3)
|
||||
jta:
|
||||
enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user