openSessionInView的特点是当他拦截到一个方法时,如果这个方法没配事务,它会认为这个任务是只读的,如果没配事务,会出现Write operations are not allowed in read-only mode。。。错误
openSessionInView,如果没有配置事务,会出现Write operations are not allowed in read-only mode。。。错误
最新推荐文章于 2018-11-01 18:16:26 发布