摘要: 1、Dao层: Mybatis的配置文件:SqlMapConfig.xml 不需要配置任何内容,需要有文件头。文件必须存在。 applicationContext-dao.xml: mybatis整合spring,通过由spring创建数据库连接池,spring管理SqlSessionFactory 阅读全文
posted @ 2018-05-04 09:59 剑小新 阅读(489) 评论(0) 推荐(0)