使用mybatisplus 如何在yml文件中配置自动提交?
可以在yml文件中配置自动提交的方式如下:
mybatis-plus:
global-config:
db-config:
auto-commit: true # 设置自动提交
其中,auto-commit属性设置为true即可开启自动提交。
原文地址: https://www.cveoy.top/t/topic/bFN3 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
可以在yml文件中配置自动提交的方式如下:
mybatis-plus:
global-config:
db-config:
auto-commit: true # 设置自动提交
其中,auto-commit属性设置为true即可开启自动提交。
原文地址: https://www.cveoy.top/t/topic/bFN3 著作权归作者所有。请勿转载和采集!