46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
|
|
<?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="C:\Users\chenghui\.m2\repository\mysql\mysql-connector-java\5.1.36\mysql-connector-java-5.1.36.jar" />
|
||
|
|
<context id="mysqlTables" targetRuntime="MyBatis3">
|
||
|
|
<commentGenerator>
|
||
|
|
<property name="suppressAllComments" value="true"/>
|
||
|
|
</commentGenerator>
|
||
|
|
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
|
||
|
|
connectionURL="jdbc:mysql://192.168.10.2:3306/bjbusxf?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull"
|
||
|
|
userId="root" password="ictsoft">
|
||
|
|
</jdbcConnection>
|
||
|
|
<javaTypeResolver>
|
||
|
|
<property name="forceBigDecimals" value="false"/>
|
||
|
|
</javaTypeResolver>
|
||
|
|
|
||
|
|
<javaModelGenerator targetPackage="com.nis.domain" targetProject="bjbusxf/src/main/java">
|
||
|
|
<property name="enableSubPackages" value="true"/>
|
||
|
|
<property name="trimStrings" value="true"/>
|
||
|
|
</javaModelGenerator>
|
||
|
|
|
||
|
|
<sqlMapGenerator targetPackage="com.nis.web.dao" targetProject="bjbusxf/src/main/java">
|
||
|
|
<property name="enableSubPackages" value="true"/>
|
||
|
|
</sqlMapGenerator>
|
||
|
|
|
||
|
|
<javaClientGenerator type="XMLMAPPER" targetPackage="com.nis.web.dao" targetProject="bjbusxf/src/main/java">
|
||
|
|
<property name="enableSubPackages" value="true"/>
|
||
|
|
</javaClientGenerator>
|
||
|
|
|
||
|
|
|
||
|
|
<table tableName="reg_attach_info"
|
||
|
|
domainObjectName="regAttachInfo"
|
||
|
|
enableCountByExample="false"
|
||
|
|
enableSelectByExample="false"
|
||
|
|
enableUpdateByExample="false"
|
||
|
|
enableDeleteByExample="false">
|
||
|
|
|
||
|
|
</table>
|
||
|
|
|
||
|
|
</context>
|
||
|
|
|
||
|
|
</generatorConfiguration>
|