hibernate的update()方法无法更新,不报错

原因是hibernate的update方法操作的是缓存,可以flush下先。

设置缓存为false理论上也可。

猜你喜欢

转载自flowerwrong.iteye.com/blog/1986478