![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis
「已注销」
沙漠刺猬
展开
-
Mybatis高级映射
1对1映射举例如MySQL的测试数据,employee雇员属于某个department部门public class Employee { private Department dept; public Department getDept() { return dept; } public void setDept(Department dept) { this.dept...原创 2019-11-11 23:14:47 · 142 阅读 · 0 评论 -
IDEA Intellij 使用Mybatis Generator工具自动生成Mybatis相关文件
Mybatis Generator的主要配置文件<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/m...原创 2019-11-10 19:27:42 · 325 阅读 · 0 评论