2b3c511 commented on code in PR #78: URL: https://github.com/apache/iotdb-extras/pull/78#discussion_r2126167785
########## examples/mybatis-generator/README.md: ########## @@ -87,18 +87,27 @@ CREATE TABLE mix3 ( ### 5. put The generatorConfig.xml in your project -The location of the ` configurationFile ` configuration ` generatorConfig.xml ` file can be found in the ` src/main/resources ` template of this project for reference` Copy its content and place it in the corresponding location +- `src/main/resources/generatorConfig.xml` + +each table generates an entity object + +- `src/main/resources/generatorConfigByExample.xml` + +The generated object will contain many "by Example" methods. If you do not want to generate these, you can configure to cancel them in the subsequent table elements + +### 6. generate generates corresponding Java classes and mapper files -### 6. exec 'mvn mybatis-generator:generate' +exec `mvn mybatis-generator:generate` -Execute the command at the location of the 'pom' in the project:` Mvn mybatis generator: generate generates corresponding Java classes and mapper files +Execute the command at the location of the 'pom' in the project: Mvn mybatis generator: generate generates corresponding Java classes and mapper files ### 7、the target file location You can see the target file in your Project ``` org/apache/iotdb/mybatis/plugin/model/Mix.java +org/apache/iotdb/mybatis/plugin/model/MixExample.java Review Comment: Please add a note: 'MixExample. java' will only be generated when you are using the 'src/main/resources/generatorConfiguraByExample. xml' file` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@iotdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org