1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?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>
-
- <classPathEntry location="D:\mybatis-generator\mysql-connector-java-5.1.30.jar"/>
- <context id="DB2Tables" targetRuntime="MyBatis3">
- <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/onlineexam_system" userId="root" password="123456">
- </jdbcConnection>
- <javaTypeResolver>
- <property name="forceBigDecimals" value="false"/>
- </javaTypeResolver>
-
- <javaModelGenerator targetPackage="com.mwt.oes.domain" targetProject="D:\onlineexam-system-backend\src\main\java">
- <property name="enableSubPackages" value="true"/>
- <property name="trimStrings" value="true"/>
- </javaModelGenerator>
-
- <sqlMapGenerator targetPackage="mapper" targetProject="D:\onlineexam-system-backend\src\main\resources">
- <property name="enableSubPackages" value="true"/>
- </sqlMapGenerator>
-
- <javaClientGenerator type="XMLMAPPER" targetPackage="com.mwt.oes.dao" targetProject="D:\onlineexam-system-backend\src\main\java">
- <property name="enableSubPackages" value="true"/>
- </javaClientGenerator>
-
- <table tableName="admin" domainObjectName="Admin"></table>
- <table tableName="bank_fill_que" domainObjectName="BankFillQue"></table>
- <table tableName="bank_judge_que" domainObjectName="BankJudgeQue"></table>
- <table tableName="bank_multiple_choice_que" domainObjectName="BankMultipleChoiceQue"></table>
- <table tableName="bank_single_choice_que" domainObjectName="BankSingleChoiceQue"></table>
- <table tableName="paper" domainObjectName="Paper"></table>
- <table tableName="paper_que" domainObjectName="PaperQue"></table>
- <table tableName="programing_language" domainObjectName="ProgramingLanguage"></table>
- <table tableName="student" domainObjectName="Student"></table>
- <table tableName="student_feedback" domainObjectName="StudentFeedback"></table>
- <table tableName="student_home_rotation_img" domainObjectName="StudentHomeRotationImg"></table>
- <table tableName="student_paper_answer" domainObjectName="StudentPaperAnswer"></table>
- <table tableName="student_paper_score" domainObjectName="StudentPaperScore"></table>
- <table tableName="teacher" domainObjectName="Teacher"></table>
- <table tableName="teacher_notice" domainObjectName="TeacherNotice"></table>
- </context>
- </generatorConfiguration>
|