-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeneratorConfig.xml
executable file
·30 lines (28 loc) · 1.25 KB
/
generatorConfig.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
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
<generatorConfiguration>
<classPathEntry
location="/Users/linxiaofang/.m2/repository/mysql/mysql-connector-java/5.1.44/mysql-connector-java-5.1.44.jar" />
<context id="context1" targetRuntime="MyBatis3Simple">
<commentGenerator>
<property name="suppressAllComments" value="false" />
<property name="suppressDate" value="true" />
<property name="javaFileEncoding" value="UTF-8" />
</commentGenerator>
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://127.0.0.1:3306/homework9?useSSL=false" userId="root"
password="">
</jdbcConnection>
<javaTypeResolver>
<property name="forceBigDecimals" value="false" />
</javaTypeResolver>
<javaModelGenerator targetPackage="web.domain"
targetProject="MAVEN">
</javaModelGenerator>
<javaClientGenerator targetPackage="web.mapping"
targetProject="MAVEN" type="ANNOTATEDMAPPER">
</javaClientGenerator>
<table tableName="homework" domainObjectName="Homework" />
<table tableName="homework_fb" domainObjectName="HomeworkFB" />
</context>
</generatorConfiguration>