摘要: Session接口管理一个数据库的任务单元session的用法如下:Configuration cfg = new AnnotationConfiguration().configure();SessionFactory sf = cfg.buildSessionFactory();Sessio... 阅读全文
posted @ 2014-12-09 15:50 Mokaffe 阅读(167) 评论(0) 推荐(0) 编辑