摘要: 1. 【简答题】:简述一下hibernate和spring框架的整合步骤: 答: 1.加入hibernate jar包 2.编写持久化类 3.添加Hibernate的配置文件:hibernate.cfg.xml 4.编写持久化类对应的.hbm.xml文件 5.加入spring jar包 6.加入Sp 阅读全文
posted @ 2018-05-27 20:07 阿善9 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 原因: @serice("customerService") 和@Repository(value="customerDao") 解决: 直接@serice 和 @Repository严重: Exception sending context initialized event to listene 阅读全文
posted @ 2018-05-27 18:05 阿善9 阅读(451) 评论(0) 推荐(0) 编辑