原创 myBatis開發過程

(1)編寫SqlMapConfig.xml文件 (2)編寫mapper.xml; (3)通過配置文件,編程創建SqlSessionFactory; (4)通過SqlSessionFactory獲取SqlSession (5