2017年3月28日
摘要: getCurrentSession 使用当前的Session OpenSession 创建一个行的Session 1.getCurrentSession创建的Session会更当前线程绑定,而OpenSession不会。 2.getCurrentSession创建的线程会在事物提交或回滚的时候自动关 阅读全文
posted @ 2017-03-28 22:22 【邵江】 阅读(214) 评论(0) 推荐(0) 编辑