1
作者:互联网
- MBG will automatically merge XML files if there is an existing file with the same name as the newly generated XML file. MBG will not overwrite any custom changes you make to the XML files it generates. You can run it over and over again without fear of losing custom changes to you XML. MBG will replace any XML elements that were generated in a previous run.
- MBG will not merge Java files, it can either overwrite existing files or save newly generated files with a different unique name. If you make changes to the generated Java files and run MBG iteratively you will have to merge the changes by hand. When run as an Eclipse plugin, then MBG can automatically merge Java files.
Dependencies
MBG has no dependencies beyond the JRE. Java 8 or above is required. Also, a JDBC driver that implements the DatabaseMetaData interface, especially the getColumns and getPrimaryKeys methods is required.
Runtime | MyBatis Generator Version | MyBatis Version | MyBatis Dynamic SQL Version |
---|---|---|---|
MyBatis3, MyBatis3Simple | Any | 3.0+ | N/A |
MyBatis3DynamicSQL | 1.3.6 - 1.3.7 | 3.4.2+ | 1.1.0 - 1.2.1 |
MyBatis3DynamicSQL, MyBatis3Kotlin | 1.4.0 | 3.4.2+ | 1.1.3+ |
MyBatis3DynamicSQL | 1.4.1+ | 3.4.2+ | 1.3.1+ |
MyBatis3Kotlin | 1.4.1+ | 3.4.2+ | 1.4.0+ |
标签:,files,1.4,Java,MBG,will,XML 来源: https://www.cnblogs.com/sleepyhermit/p/16389597.html