<?
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
>
<
context
id
=
"mysqlgenerator"
targetRuntime
=
"MyBatis3"
>
<
property
name
=
"autoDelimitKeywords"
value
=
"true"
/>
<
property
name
=
"beginningDelimiter"
value
=
"`"
/>
<
property
name
=
"endingDelimiter"
value
=
"`"
/>
<
plugin
type
=
"org.mybatis.generator.plugins.ToStringPlugin"
/>
<
plugin
type
=
"org.mybatis.generator.plugins.EqualsHashCodePlugin"
/>
<
plugin
type
=
"com.itfsw.mybatis.generator.plugins.SelectOneByExamplePlugin"
/>
<
plugin
type
=
"com.itfsw.mybatis.generator.plugins.SelectSelectivePlugin"
/>
<
plugin
type
=
"com.itfsw.mybatis.generator.plugins.ExampleEnhancedPlugin"
/>
<
plugin
type
=
"com.itfsw.mybatis.generator.plugins.ModelColumnPlugin"
/>
<
plugin
type
=
"com.itfsw.mybatis.generator.plugins.LogicalDeletePlugin"
>
<
property
name
=
"logicalDeleteColumn"
value
=
"deleted"
/>
<
property
name
=
"logicalDeleteValue"
value
=
"1"
/>
<
property
name
=
"logicalUnDeleteValue"
value
=
"0"
/>
</
plugin
>
<
commentGenerator
>
<
property
name
=
"suppressDate"
value
=
"true"
/>
</
commentGenerator
>
<
jdbcConnection
driverClass
=
"com.mysql.jdbc.Driver"
connectionURL
=
"jdbc:mysql://192.168.1.100:3306/theorydance?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&verifyServerCertificate=false&useSSL=false"
userId
=
"root"
password
=
"123456"
/>
<
javaTypeResolver
>
<
property
name
=
"useJSR310Types"
value
=
"true"
/>
</
javaTypeResolver
>
<
javaModelGenerator
targetPackage
=
"demo.theorydance.db.domain"
targetProject
=
"src/main/java"
/>
<
sqlMapGenerator
targetPackage
=
"demo.theorydance.db.dao"
targetProject
=
"src/main/resources"
/>
<
javaClientGenerator
type
=
"XMLMAPPER"
targetPackage
=
"demo.theorydance.db.dao"
targetProject
=
"src/main/java"
/>
<
table
tableName
=
"student"
></
table
>
</
context
>
</
generatorConfiguration
>