现在的位置: 首页 > 综合 > 正文

Mybatis代码自动生成插件使用

2013年03月08日 ⁄ 综合 ⁄ 共 557字 ⁄ 字号 评论关闭

1.配置pom.xml
添加mybatis-generator-maven-plugin到pom.xml。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="UTF-8"?>
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    <parent>
        <artifactId>orm</artifactId>
        <groupId>com.cdai.demo</groupId>
        <version>1.0-SNAPSHOT</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>
 
    <

抱歉!评论已关闭.