GeneratorConfig.xml 1.0 KB

1234567891011121314
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
  3. <generatorConfiguration>
  4. <classPathEntry location="C:/Users/Administrator/.dbeaver-drivers/maven/maven-central/mysql/mysql-connector-java-5.1.39.jar" />
  5. <!-- <classPathEntry location="C:\Users\Administrator\.dbeaver-drivers\maven\maven-central\mysql\mysql-connector-java-5.1.44.jar" /> -->
  6. <context id="context1">
  7. <jdbcConnection connectionURL="jdbc:mysql://localhost:3306/aft"
  8. driverClass="com.mysql.jdbc.Driver" password="123456" userId="dev" />
  9. <javaModelGenerator targetPackage="com.goafanti.common.model" targetProject="jitao-server" />
  10. <sqlMapGenerator targetPackage="com.goafanti.common.mapper" targetProject="jitao-server" />
  11. <javaClientGenerator targetPackage="com.goafanti.common.dao" targetProject="jitao-server" type="XMLMAPPER" />
  12. <table schema="aft" tableName="demand_collection"/>
  13. </context>
  14. </generatorConfiguration>