SqlSession was not registered for synchronization because synchronization is not active JDBC Connection will not be managed by Spring
Sqlsession未注册同步,同步注册未激活,JDBC connection不能被Spring所托管
在services的实现类上,或者实现方法上加个
@Transactional
Sqlsession未注册同步,同步注册未激活,JDBC connection不能被Spring所托管
在services的实现类上,或者实现方法上加个
@Transactional