GeneratorConfig.xml 1.0 KB

123456789101112131415
  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.44.jar" /> -->
  5. <classPathEntry location="E:/mysql-connector-java-5.1.40.jar" />
  6. <context id="context1">
  7. <jdbcConnection connectionURL="jdbc:mysql://192.168.1.213: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="user"/>
  13. <table schema="aft" tableName="user"/>
  14. </context>
  15. </generatorConfiguration>