摘要: 1、导入需要的夹包: 2、搭建框架: 包dao:接口 包dao.impl:实现接口的实现类 包domain:对象模型 包test:测试 包hibernateutils:工具包 3、配置文件: 在resources文件夹下配置hibernate.cfg.xml; 1 <hibernate-config 阅读全文
posted @ 2017-03-13 20:58 时间带我去旅行 阅读(147) 评论(0) 推荐(0)