mybatis和spring结合使用

  下载dbcp: https://commons.apache.org/proper/commons-dbcp/download_dbcp.cgi   mybatis和spring结合使用,就是通过spring创建操作数据库的对象,而不需直接获取mybatis中session直接操作。   一、这里使用了properties配置文件,只要在spring的配置文件中使用   <!-- 加载配置文件
相关文章
相关标签/搜索