![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
刺骨寒风刺
敬畏,感恩
展开
-
mybatis中引入mapper的几种方式 笔记
0 环境 系统环境:win10 数据库:mysql IDE: IDEA 1 mybatis全局配置文件引入 方式1:使用mapper resouce属性注册mapper xml文件 <mappers> <mapper resource="Mapper xml的路径(相对于classes的路径)"/> </mappers> 注意 直接引用的xml,Mapper xml中namespace同名的Mapper接口(接口存在) 方式2:使用mapper c原创 2020-08-14 16:50:03 · 2872 阅读 · 0 评论 -
mybatis配置属性信息 笔记
0 环境 系统环境: win10 IDE:vscode 1 正文 #include <stdio.h> #include <windows.h> #include <math.h> // 最大索引值 #define MAX_SIZE 188 #define SWAP(x, y, t) ((t) = (x), (x) = (y), (y) = (t)) void sort(int [], int); // 选择排序 int main(int argc, char c原创 2020-08-11 09:58:46 · 126 阅读 · 0 评论