- I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
lockKeys have the duplicate items, like this:
lockKeys = ci_73_978_njrs:307;ci_73_978_njrs:307,308;ci_73_978_njrs:307,308,309,310,311;ci_73_978_njrs:307,308,309,310;ci_73_978_njrs:307,308,309,310,311,312;ci_73_978_njrs:307,308,309,310,311,312,313,314;ci_73_978_njrs:307,308,309,310,311,312,313;ci_73_799_pjct:14;trigger_tasks_73:167470;ci_73_978_njrs:307,308,309;trigger_task_change_logs_73:150222
Ⅱ. Describe what happened
when the @transactional is under the @GlocalTransactional, and the method is called recursively in many hierarchies
Ⅲ. Describe what you expected to happen
lockKeys should be:
lockKeys = ci_73_978_njrs:309;ci_73_978_njrs:307;ci_73_978_njrs:308;ci_73_978_njrs:314;ci_73_978_njrs:312;trigger_tasks_73:167471;ci_73_978_njrs:313;ci_73_978_njrs:310;ci_73_799_pjct:14;ci_73_978_njrs:311;trigger_task_change_logs_73:150223
Ⅳ. How to reproduce it (as minimally and precisely as possible)
mybatis配置使用
configuration:
default-executor-type: reuse
Ⅴ. Anything else we need to know?
Ⅵ. Environment:
- JDK version :
- seata : 1.2.0
mybatis-spring-boot-starter: 2.1.0
3条答案
按热度按时间xzabzqsa1#
@HanKaiqiang what version is used? This is a bug in the lower version.
nafvub8i2#
mybatis-spring-boot-starter: 2.1.0
4nkexdtk3#
mybatis:
mapperLocations: classpath:mapper/*.xml
typeAliasesPackage: io.seata.sample.entity
configuration-properties:
blobType: BLOB
boolValue: true
prefix:
configuration:
cache-enabled: false
lazy-loading-enabled: false
multiple-result-sets-enabled: true
use-column-label: true
default-statement-timeout: 25000
use-generated-keys: true
default-executor-type: reuse
call-setters-on-nulls: true
map-underscore-to-camel-case: true