1 Star 1 Fork 21

lanche2016 / CodeGenerator

forked from hurricane.hu / code-generator 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
generatorConfig.xml 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
hurricane.hu 提交于 2015-11-22 12:02 . youhua
<?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="mysql-connector-java-5.1.8.jar" />
<context id="mysqlTables" targetRuntime="MyBatis3">
<commentGenerator>
<property name="suppressAllComments" value="true" />
<property name="suppressDate" value="true" />
</commentGenerator>
<jdbcConnection driverClass="com.mysql.jdbc.Driver"
connectionURL="jdbc:mysql://172.21.107.208:3306/oneplus_cs" userId="root"
password="">
</jdbcConnection>
<javaTypeResolver>
<property name="forceBigDecimals" value="false" />
</javaTypeResolver>
<javaModelGenerator targetPackage="com.oneplus.cs.model"
targetProject="src/main/java">
<property name="enableSubPackages" value="true" />
<property name="trimStrings" value="true" />
</javaModelGenerator>
<sqlMapGenerator targetPackage="sqlmap" targetProject="src/main/resources">
<property name="enableSubPackages" value="true"/>
</sqlMapGenerator>
<javaClientGenerator type="XMLMAPPER"
targetPackage="com.oneplus.cs.dao" targetProject="src/main/java">
<property name="enableSubPackages" value="true" />
</javaClientGenerator>
<table tableName="cs_appraise" enableCountByExample="false"
enableSelectByExample="false" enableUpdateByExample="false"
enableDeleteByExample="false"></table>
</context>
</generatorConfiguration>
Java
1
https://gitee.com/lanche2016/CodeGenerator.git
git@gitee.com:lanche2016/CodeGenerator.git
lanche2016
CodeGenerator
CodeGenerator
master

搜索帮助