Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1ad095b]
时间: 2023-11-07 14:17:36 浏览: 102
关闭数据库连接
"Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1ad095b]" 是一个异常报错信息,它表示在关闭非事务性的SqlSession时出现了问题。这个错误通常发生在MyBatis框架中使用了未提交的事务或者未正确关闭的SqlSession对象。根据提供的引用内容,这个问题可以通过正确提交或回滚事务,并及时关闭SqlSession对象来解决。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [解决Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@38e...](https://blog.csdn.net/LiloveWen/article/details/109100803)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1c45522b]](https://blog.csdn.net/qq_54928486/article/details/124607337)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文