![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis
toby1123yjh
这个作者很懒,什么都没留下…
展开
-
【mybatis】mybatis入门(二)
一、Mapper动态代理开发 二、sqlMapConfig.xml配置文件 (1)sqlMapConfig的xml文件配置约束,否则敲入<不出提示 (2)sqlMapConfig的<properties> 将properties单独写成一个文件,然后在sqlMapConfig引入properties文件,就可以调用properties里的键值对 ...原创 2018-04-25 11:54:36 · 155 阅读 · 0 评论 -
【mybatis】mybatis入门(一)
(一) mybatis架构(二)mybatis入门程序:第1步. 加入jar包 ①mybatis核心包 ②mybatis依赖包 ③数据库驱动包第2步. 加入配置文件首先文件结构一览②加入配置文件: a.创建资源文件夹Source Folder (在other里面搜) 名字叫做config b.在config中加入 log4j.pr...原创 2018-04-22 20:25:55 · 272 阅读 · 0 评论