synchronization because synchronization is not active JDBC Connection
时间: 2023-10-12 09:04:10 浏览: 242
引用中提到了关于SqlSession未注册同步的错误讲述,指出了JDBC Connection不能被Spring所托管,因为同步注册未激活。而引用中的日志显示,由于同步未激活,JDBC Connection不会由Spring进行管理。
在引用中,介绍了一个特定路由的连接子池,由ConnPoolByRoute使用。该类中的方法是非同步的,预期是包含的连接池会处理同步。
综上所述,引用和都提到了synchronization not active的问题,即同步未激活,导致JDBC Connection无法被Spring管理。而引用也提到了连接子池的同步问题。所以可以得出结论,问题中提到的synchronization not active是指同步未激活,导致JDBC Connection无法被正确管理。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [“SqlSession[xxx] was not registered for synchronization because synchronization is not active”问题...](https://blog.csdn.net/web18296061989/article/details/125346240)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [was not registered for synchronization because synchronization is not active JDBC Connection [com.mc](https://blog.csdn.net/qq_20867981/article/details/79713538)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [RouteSpecificPool.rar_synchronization](https://download.csdn.net/download/weixin_42652674/86686806)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文