SpringMVC整合Mybatis筆記
阿新 • • 發佈:2019-01-07
https://blog.csdn.net/ljheee/article/details/76618762
網上Spring整合mybatis的文章很雜亂,這兩篇推薦一下:
http://www.mybatis.org/spring/zh/getting-started.html
http://www.jianshu.com/p/5124eef40bf0
整合包:
mybatis-spring-x.x.x.jar
https://blog.csdn.net/junshiqingmo/article/details/81712532
commons-dbcp2-2.5.0.jar和commons-pool2-2.6.0.jar
http://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi (可以改映象下載地址,不然下載很慢)
http://commons.apache.org/proper/commons-pool/download_pool.cgi (可以改映象下載地址,不然下載很慢)
配置: