摘要:
entity包 bean-base.xml <!-- 所有配置的公共部门 --> <!-- 1) 连接池实例 --> <!-- 2) SessionFactory实例创建 --> <!-- 所有的配置都由spring维护(项目中不需要hibernate.cfg.xml啦) --> dao层 impo 阅读全文
摘要:
Spring hibernate struts 整合 测试思路: spring 和hibernate 测试 ,spring和struts测试 Spring与Hibernate整合关键点: 1) Hibernate的SessionFactory对象交给Spring创建; 2) hibernate事务交 阅读全文
摘要:
xml 方式实现 注解方式实现 阅读全文