首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
Mybatis| Bug合集
Mybatis| Bug合集
mac
2022-06-30
28
Mybatis| Bug合集
1. 增删改的代码不报错,但就是无法写入到数据库中
1. 增删改的代码不报错,但就是无法写入到数据库中
原因:没有提交 方法1:设置自动提交(在生成sqlSession时,就设置自动提交true)
方法2:手动提交 sqlSession.commit();
转载请注明原文地址: https://mac.8miu.com/read-54809.html
最新回复
(
0
)