mybatis 詳解(十一)------ mybatis和spring整合

目錄 1、創建mybatis-spring 工程,並導入相應的 jar 包(詳情見上面源碼) 2、在 spring 全局配置文件中 applicationContext.xml 中配置 SqlSessionFactory,以及數據源 3、mapper 接口開發配置  4、在 spring全局配置文件applicationContext.xml 中配置 mapper     想要整合mybatis和
相關文章
相關標籤/搜索