摘要: 原理:1.通过Configuration().configure();读取并解析hibernate.cfg.xml配置文件2.由hibernate.cfg.xml中的读取并解析映射信息3.通过config.buildSessionFactory();//创建SessionFactory4.sessi... 阅读全文
posted @ 2014-11-03 11:36 空城丶 阅读(197) 评论(0) 推荐(0) 编辑