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

5 years ago
<?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"
4 years ago
connectionURL="jdbc:mysql://test.tall.wiki:3306/yanyuan" userId="root"
password="po3OynBO[M3579p6L7)o" />
5 years ago
<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>
4 years ago
<!--<table tableName="u_user" domainObjectName="User"
5 years ago
enableCountByExample="false" enableUpdateByExample="false"
enableDeleteByExample="false" enableSelectByExample="false"
selectByExampleQueryId="false">
4 years ago
</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>
5 years ago
</context>
</generatorConfiguration>