2018年1月4日
摘要: 1 本章目的:获得session的两种方式: openSession 和 getCurrentSession 2 两种session的使用方法 1openSession可以直接写,getCurrentSession需要在cfg.xml中配置 2 getCurrentSession创建的线程会在事务回 阅读全文
posted @ 2018-01-04 21:58 菜鸟乙 阅读(130) 评论(0) 推荐(0)