Closed weijie0 closed 2 months ago
JDK Version(required): 17 SpringBoot Version(required): 3 dynamic-datasource-spring-boot-starter Version(required): 4.3.1 druid Version(optional):
mybatisplus>ServiceImpl>saveBatch方法执行慢,rewriteBatchedStatements不起作用,不使用多数据源生效
Expected Result:
可以批量操作
Actual Result: 批量执行慢
If there is an exception,or aop invalid,please attach the exception trace:
Just paste your stack trace here!
Step 1
Step 2
Step 3
@huayanYu 直接close是什么意思,如何解决呢,大佬
不知道,提问太潦草。 根据经验和多数据源无关
Enviroment
JDK Version(required): 17 SpringBoot Version(required): 3 dynamic-datasource-spring-boot-starter Version(required): 4.3.1 druid Version(optional):
Describe what happened
mybatisplus>ServiceImpl>saveBatch方法执行慢,rewriteBatchedStatements不起作用,不使用多数据源生效
Expected Result:
可以批量操作
Actual Result: 批量执行慢
If there is an exception,or aop invalid,please attach the exception trace:
Steps to reproduce
Step 1
Step 2
Step 3