假设在你的应用中Hibernate是通过spring来管理它的session.如果在你的应用中没有使用OpenSessionInViewFilter或者OpenSessionInViewInterceptor。session会在transaction结束后关闭。
Tags
|
OpenSessionInViewFilter类作用
OpenSessionInViewFilter类作用
猜你喜欢
转载自shen-zhenbiao.iteye.com/blog/1404627
今日推荐
周排行