控制台显示:SqlSession ...... was not registered for synchronization because synchronization is not active
本文最后更新于 2024-07-06,文章内容可能已经过时。
控制台显示:SqlSession …… was not registered for synchronization because synchronization is not active JDBC Connection ……will not be managed by Spring
具体信息如下
SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@118ae053] was not registered for synchronization because synchronization is not active
JDBC Connection [HikariProxyConnection@978265438 wrapping com.mysql.cj.jdbc.ConnectionImpl@39dd8c98] will not be managed by Spring
==> Preparing: SELECT id,name,wechat_account,phone,password,email,sex,avatar,country,province,city,create_time,update_time,status FROM user WHERE id=?
==> Parameters: 1417414926166769669(Long)
<== Columns: ...
<== Row: ...
<== Total: 1
Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@118ae053]
原因:未知
- 感谢你赐予我前进的力量
赞赏者名单
因为你们的支持让我意识到写文章的价值🙏
控制台显示:SqlSession ...... was not registered for synchronization because synchronization is not active
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 程序员Graypigeon
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果