本文主要是介绍intellij idea generatorConfig.xml,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
generatorConfig.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE generatorConfigurationPUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN""http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"><generatorConfiguration><classPathEntrylocation="/Users/liyang/.m2/repository/mysql/mysql-connector-java/5.1.37/mysql-connector-java-5.1.37.jar"/><context id="tables" targetRuntime="MyBatis3"><plugin type="org.mybatis.generator.plugins.EqualsHashCodePlugin" /><commentGenerator><property name="suppressDate" value="true"/><property name="suppressAllComments" value="true"/></commentGenerator><jdbcConnection driverClass="com.mysql.jdbc.Driver"connectionURL="jdbc:mysql://127.0.0.1:3306/saosao"userId="root"password="root"></jdbcConnection><javaTypeResolver><property name="forceBigDecimals" value="true"/></javaTypeResolver><javaModelGenerator targetPackage="com.saosao.po" 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 targetPackage="com.saosao.dao"targetProject="src/main/java"type="XMLMAPPER"><property name="enableSubPackages" value="true"/></javaClientGenerator><table tableName="stu" domainObjectName="Stu"enableCountByExample="false"enableUpdateByExample="false"enableDeleteByExample="false"enableSelectByExample="false"selectByExampleQueryId="false"><property name="useActualColumnNames" value="true"/></table></context></generatorConfiguration>
这篇关于intellij idea generatorConfig.xml的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!