MyBatis Generator使用方法
- 搜索MyBatis官网,http://www.mybatis.org/generator/running/running.html,
在eclipse中找到手动配置网址https://dl.bintray.com/mybatis/mybatis-generator。
- 打开eclipse,在功能框中选择help,
选择如图,

- 输入第一步的网址选择添加,然后next,安装完成后会提示重启eclipse,重启。
-
在项目src目录下选择如图,
-
选择MyBatis Generator
- 生成
- 填写配置文件,
jdbcConnection 指定数据库连接信息
javaModelGenerator 指定目标项目和包
sqlMapGenerator 指定目标项目和包
javaClientGenerator
table 至少一个数据库表
相关文章:
-
2021-12-12
-
2021-04-27
-
2021-11-18
-
2021-04-23
-
2021-08-14
-
2021-05-05
猜你喜欢
-
2021-12-15
-
2021-07-13
-
2021-06-27
-
2022-01-01
-
2021-10-23
-
2021-06-13
相关资源
-
下载
2023-02-25
-
下载
2023-01-16
-
下载
2022-12-01