使用Mapper.xml和Mapper接口开发 编写工具类获取sqlsession 使用Mybatis的API来创建一个工具类,通过mybatis配置文件与数据库的信息,得到Connection对象 pub ...