update
This commit is contained in:
parent
055529b99d
commit
68aa87645a
@ -2,16 +2,12 @@
|
||||
id: "2018-09-01-10-38"
|
||||
date: "2018/09/01 10:38:00"
|
||||
title: "springboot整合Mybatis(xml和注解)"
|
||||
tag: ["java", "spring","springboot","mysql","mybatis","xml","注解"]
|
||||
categories:
|
||||
- "java"
|
||||
- "spring boot学习"
|
||||
tag: ["java", "spring", "springboot", "mysql", "mybatis", "xml", "注解"]
|
||||
categories:
|
||||
- "java"
|
||||
- "spring boot学习"
|
||||
---
|
||||
|
||||
## 写在前面
|
||||
|
||||
  项目源代码在 github,地址为:[https://github.com/FleyX/demo-project/tree/master/mybatis-test](https://github.com/FleyX/demo-project/tree/master/mybatis-test),有需要的自取。
|
||||
|
||||
  刚毕业的第一份工作是 java 开发,项目中需要用到 mybatis,特此记录学习过程,这只是一个简单 demo,mybatis 用法很多不可能全部写出来,有更复杂的需求建议查看 mybatis 的官方中文文档,[点击跳转](http://www.mybatis.org/mybatis-3/zh/index.html)。下面时项目环境/版本。
|
||||
|
||||
- 开发工具:IDEA
|
||||
@ -366,3 +362,7 @@ public interface UserDao {
|
||||
```
|
||||
|
||||
然后重新启动项目测试,测试结果跟上面完全一样。
|
||||
|
||||
**本文原创发布于:**[https://www.tapme.top/blog/detail/2018-09-01-10-38](https://www.tapme.top/blog/detail/2018-09-01-10-38)
|
||||
|
||||
**源码地址:**[https://github.com/FleyX/demo-project/tree/master/mybatis-test](https://github.com/FleyX/demo-project/tree/master/mybatis-test).
|
||||
|
Loading…
x
Reference in New Issue
Block a user