was not registered for synchronization because synchronization,Closing non transactional SqlSession

关闭一个非事务的SqlSession
was not registered for synchronization because synchronization,Closing non transactional SqlSession_第1张图片
错误原因在于方法中的参数写的是name,后改成username

was not registered for synchronization because synchronization,Closing non transactional SqlSession_第2张图片在这里的参数是username

在这里插入图片描述applicationContext_datasourse.xml 文件中的配置事务管理

你可能感兴趣的:(was not registered for synchronization because synchronization,Closing non transactional SqlSession)