You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.8 KiB
40 lines
1.8 KiB
<?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>
|
|
<!-- <properties resource="generatorConfig.properties" /> -->
|
|
<classPathEntry location="mysql-connector-java-5.1.30.jar" />
|
|
<context id="context1">
|
|
<plugin type="org.mybatis.generator.plugins.SerializablePlugin" />
|
|
<plugin type="org.mybatis.generator.plugins.ToStringPlugin" />
|
|
<commentGenerator>
|
|
<!-- 去除自动生成的注释 -->
|
|
<property name="suppressAllComments" value="true" />
|
|
</commentGenerator>
|
|
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
|
|
connectionURL="jdbc:mysql://test.tall.wiki:3306/yanyuan" userId="root"
|
|
password="po3OynBO[M3579p6L7)o" />
|
|
<javaModelGenerator targetPackage="com.wmeimob.bjyy.model"
|
|
targetProject="bjyy-dal">
|
|
<property name="trimStrings" value="true" />
|
|
<property name="enableSubPackages" value="true" />
|
|
</javaModelGenerator>
|
|
<sqlMapGenerator targetPackage="com.wmeimob.bjyy.mapping"
|
|
targetProject="bjyy-dal">
|
|
<property name="enableSubPackages" value="true" />
|
|
</sqlMapGenerator>
|
|
<javaClientGenerator targetPackage="com.wmeimob.bjyy.dao"
|
|
targetProject="bjyy-dal" type="XMLMAPPER">
|
|
<property name="enableSubPackages" value="true" />
|
|
</javaClientGenerator>
|
|
|
|
|
|
<!--<table tableName="u_user" domainObjectName="User"
|
|
enableCountByExample="false" enableUpdateByExample="false"
|
|
enableDeleteByExample="false" enableSelectByExample="false"
|
|
selectByExampleQueryId="false">
|
|
</table>-->
|
|
<table tableName="t_train_aid" domainObjectName="TrainAid"></table>
|
|
<table tableName="t_train_content" domainObjectName="TrainContent"></table>
|
|
<table tableName="t_train_img" domainObjectName="TrainImg"></table>
|
|
</context>
|
|
</generatorConfiguration>
|