<?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="/Users/nangua/Developer/src/mysql.com/community/mysql-connector-java-5.1.44-bin.jar"/>-->
    <classPathEntry location="/Users/huangzhengjun/Documents/bgygitrepo/DataV_Api_SpringMvc/WebContent/WEB-INF/lib/mysql-connector-java-5.1.43.jar"/>
    <!--<context id="context_comm" targetRuntime="MyBatis3Simple" defaultModelType="flat">-->
        <!--<property name="javaFileEncoding" value="UTF-8"/>-->
        <!--<property name="beginningDelimiter" value="`"/>-->
        <!--<property name="endingDelimiter" value="`"/>-->
        <!--<plugin type="tk.mybatis.mapper.generator.MapperPlugin">-->
            <!--<property name="mappers" value="tk.mybatis.mapper.common.Mapper"/>-->
        <!--</plugin>-->

        <!--<commentGenerator>-->
            <!--&lt;!&ndash; 是否去除自动生成的注释 true：是 ： false:否 &ndash;&gt;-->
            <!--<property name="suppressAllComments" value="true"/>-->
        <!--</commentGenerator>-->
        <!--<jdbcConnection connectionURL="jdbc:mysql://10.10.171.17:3306/biapp_test"-->
                        <!--driverClass="com.mysql.jdbc.Driver"-->
                        <!--password="bL3aACCNuqWCfmeu"-->
                        <!--userId="biapp">-->
        <!--</jdbcConnection>-->
        <!--<javaModelGenerator targetPackage="cn.com.countrygarden.bi.main.model.preComm" targetProject="${targetJavaProject}">-->
            <!--<property name="enableSubPackages" value="true"/>-->
            <!--<property name="trimStrings" value="true"/>-->
        <!--</javaModelGenerator>-->
        <!--<sqlMapGenerator targetPackage="mybatis.mapper.preComm" targetProject="${targetResourceProject}">-->
            <!--<property name="enableSubPackages" value="true"/>-->
        <!--</sqlMapGenerator>-->
        <!--<javaClientGenerator targetPackage="cn.com.countrygarden.bi.main.dao.preComm" targetProject="${targetJavaProject}"-->
                             <!--type="XMLMAPPER">-->
            <!--<property name="enableSubPackages" value="true"/>-->
        <!--</javaClientGenerator>-->
        <!--<table schema="biapp_test" tableName="cooperation_type" domainObjectName="CooperationType">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
        <!--<table schema="biapp_test" tableName="project_type" domainObjectName="ProjectType">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
        <!--<table schema="biapp_test" tableName="project_nature" domainObjectName="ProjectNature">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
        <!--<table schema="biapp_test" tableName="preOrgan" domainObjectName="Organ">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
        <!--<table schema="biapp_test" tableName="preComm" domainObjectName="Comm">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
    <!--</context>-->
    <!--<context id="context_marketing" targetRuntime="MyBatis3Simple" defaultModelType="flat">-->
        <!--<property name="javaFileEncoding" value="UTF-8"/>-->
        <!--<property name="beginningDelimiter" value="`"/>-->
        <!--<property name="endingDelimiter" value="`"/>-->
        <!--<plugin type="tk.mybatis.mapper.generator.MapperPlugin">-->
            <!--<property name="mappers" value="tk.mybatis.mapper.common.Mapper"/>-->
        <!--</plugin>-->

        <!--<commentGenerator>-->
            <!--&lt;!&ndash; 是否去除自动生成的注释 true：是 ： false:否 &ndash;&gt;-->
            <!--<property name="suppressAllComments" value="true"/>-->
        <!--</commentGenerator>-->
        <!--<jdbcConnection connectionURL="jdbc:mysql://10.10.171.17:3306/biapp_test"-->
                        <!--driverClass="com.mysql.jdbc.Driver"-->
                        <!--password="bL3aACCNuqWCfmeu"-->
                        <!--userId="biapp">-->
        <!--</jdbcConnection>-->
        <!--<javaModelGenerator targetPackage="cn.com.countrygarden.bi.main.model.marketing" targetProject="${targetJavaProject}">-->
            <!--<property name="enableSubPackages" value="true"/>-->
            <!--<property name="trimStrings" value="true"/>-->
        <!--</javaModelGenerator>-->
        <!--<sqlMapGenerator targetPackage="mybatis.mapper.marketing" targetProject="${targetResourceProject}">-->
            <!--<property name="enableSubPackages" value="true"/>-->
        <!--</sqlMapGenerator>-->
        <!--<javaClientGenerator targetPackage="cn.com.countrygarden.bi.main.dao.marketing" targetProject="${targetJavaProject}"-->
                             <!--type="XMLMAPPER">-->
            <!--<property name="enableSubPackages" value="true"/>-->
        <!--</javaClientGenerator>-->
        <!--<table schema="biapp_test" tableName="marketing_charge" domainObjectName="MarketingCharge">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
        <!--<table schema="biapp_test" tableName="marketing_contract" domainObjectName="MarketingContract">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
        <!--<table schema="biapp_test" tableName="marketing_proposal" domainObjectName="MarketingProposal">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
        <!--<table schema="biapp_test" tableName="marketing_quota" domainObjectName="MarketingQuota">-->
            <!--<generatedKey column="id" sqlStatement="Mysql" identity="true"/>-->
        <!--</table>-->
    <!--</context>-->
    <context id="context_resident" targetRuntime="MyBatis3Simple" defaultModelType="flat">
        <property name="javaFileEncoding" value="UTF-8"/>
        <property name="beginningDelimiter" value="`"/>
        <property name="endingDelimiter" value="`"/>
        <plugin type="tk.mybatis.mapper.generator.MapperPlugin">
            <property name="mappers" value="tk.mybatis.mapper.common.Mapper"/>
        </plugin>

        <commentGenerator>
            <!-- 是否去除自动生成的注释 true：是 ： false:否 -->
            <property name="suppressAllComments" value="true"/>
        </commentGenerator>
        <jdbcConnection connectionURL="jdbc:mysql://10.10.171.161:3306/biapp"
                        driverClass="com.mysql.jdbc.Driver"
                        password="bL3aACCNuqWCfmeu"
                        userId="biapp">
        </jdbcConnection>
        <javaModelGenerator targetPackage="cn.com.countrygarden.bi.main.model.dup" targetProject="${targetJavaProject}">
            <property name="enableSubPackages" value="true"/>
            <property name="trimStrings" value="true"/>
        </javaModelGenerator>
        <sqlMapGenerator targetPackage="mybatis.mapper.casefield" targetProject="${targetResourceProject}">
            <property name="enableSubPackages" value="true"/>
        </sqlMapGenerator>
        <javaClientGenerator targetPackage="cn.com.countrygarden.bi.main.dao.dup" targetProject="${targetJavaProject}"
                             type="XMLMAPPER">
            <property name="enableSubPackages" value="true"/>
        </javaClientGenerator>
        <table schema="biapp" tableName="case_field_info11" domainObjectName="CaseFieldInfo11">
            <generatedKey column="id" sqlStatement="Mysql" identity="true"/>
        </table>
    </context>
</generatorConfiguration>