generator-configuration.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. <context id="KxsMainServer">
  5. <plugin type="org.mybatis.generator.plugins.SerializablePlugin" />
  6. <commentGenerator>
  7. <property name="suppressDate" value="true" />
  8. <property name="suppressAllComments" value="true" />
  9. </commentGenerator>
  10. <jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
  11. connectionURL="jdbc:mysql://47.109.31.237:3306/KxsMainServer"
  12. userId="KxsMainServer"
  13. password="FrW8ZfxlcaVdm1r0">
  14. </jdbcConnection>
  15. <javaTypeResolver>
  16. <property name="forceBigDecimals" value="false" />
  17. </javaTypeResolver>
  18. <javaModelGenerator targetPackage="KxsMainServer.model" targetProject="\adminap\src">
  19. <property name="enableSubPackages" value="true" />
  20. <property name="trimStrings" value="true" />
  21. </javaModelGenerator>
  22. <sqlMapGenerator targetPackage="KxsMainServer.xml" targetProject="\adminap\src">
  23. <property name="enableSubPackages" value="true" />
  24. </sqlMapGenerator>
  25. <javaClientGenerator type="XMLMAPPER" targetPackage="KxsMainServer.dao" targetProject="\adminap\src">
  26. <property name="enableSubPackages" value="true" />
  27. </javaClientGenerator>
  28. <table schema="Users" tableName="Users" domainObjectName="Customer">
  29. </table>
  30. </context>
  31. </generatorConfiguration>