第一个mybatis程序——CRUD

 1.SqlMapConfig.xml 配置mybatis的运行环境,数据源、事务等。   2 创建po类 3 映射文件 映射文件命名: User.xml(原始ibatis命名),mapper代理开发映射文件名称叫XXXMapper.xml,比如:UserMapper.xml、ItemsMapper.xml 在映射文件中配置sql语句。 4 程序编写 源码下载:https://download.c
相关文章
相关标签/搜索