Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
generatorConfig.xml 2.94 KB
Copy Edit Web IDE Raw Blame History
ouyang authored 2017-09-18 16:31 . 初始化生成器
<?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="dev.properties"/>-->
<context id="Mysql" targetRuntime="MyBatis3Simple" defaultModelType="flat">
<property name="beginningDelimiter" value="`"/>
<property name="endingDelimiter" value="`"/>
<property name="mergeable" value="false"></property>
<property name="targetJavaProject" value="D:/mybatis-generator/result/phy-dc-dao/src/main/java"/>
<property name="targetModelPackage" value="com.phy.dc.security.admin.entity"/>
<property name="targetMapperPackage" value="com.phy.dc.security.admin.mapper"/>
<property name="targetResourcesProject" value="D:/mybatis-generator/result/src/main/resources"/>
<property name="targetXMLPackage" value="com.phy.dc.security.admin.mapper"/>
<plugin type="tk.mybatis.mapper.generator.MapperPlugin">
<property name="mappers" value="tk.mybatis.mapper.common.Mapper"/>
</plugin>
<jdbcConnection driverClass="oracle.jdbc.OracleDriver"
connectionURL="jdbc:oracle:thin:@192.168.201.122:1521:testing"
userId="edi"
password="edi">
</jdbcConnection>
<javaModelGenerator targetPackage="com.phy.dc.security.admin.entity" targetProject="D:/mybatis-generator/result/src/main/java"/>
<sqlMapGenerator targetPackage="com.phy.dc.security.admin.mapper" targetProject="D:/mybatis-generator/result/src/main/resources"/>
<javaClientGenerator targetPackage="com.phy.dc.security.admin.mapper" targetProject="D:/mybatis-generator/result/src/main/java"
type="XMLMAPPER"/>
<!--<table tableName="base_user" domainObjectName="User" >-->
<!--<generatedKey column="id" identity="false" sqlStatement="myql"/>-->
<!--</table>-->
<!--<table tableName="base_menu" domainObjectName="Menu" >-->
<!--<generatedKey column="id" identity="false" sqlStatement="myql"/>-->
<!--</table>-->
<!--<table tableName="base_group" domainObjectName="Group" >
&lt;!&ndash;<generatedKey column="id" identity="true"/>&ndash;&gt;
</table>
<table tableName="base_group_type" domainObjectName="GroupType" >
</table>-->
<!--<table tableName="base_resource_authority" domainObjectName="ResourceAuthority" >
</table>-->
<!--<table tableName="base_element" domainObjectName="Element">-->
<!--</table>-->
<!--<table tableName="gate_client" domainObjectName="GateClient">-->
<!--</table>-->
<!--<table tableName="gate_log" domainObjectName="GateLog">-->
<table tableName="booking_import_config" domainObjectName="BookingImportConfig">
</table>
</context>
</generatorConfiguration>

Comment ( 0 )

Sign in for post a comment