Skip to content

Third Party Tools

吕小小布 edited this page Jul 23, 2020 · 24 revisions

This page lists third party plugins and other tools that have been developed for MyBatis generator.

Plugin Name Description Type URL
JAXB Annotations This Plugin enables MyBatis Generator (mbg) to add JAXB annotations to the generated Java Model classes. This plugin provides reasonable flexibility while adding JAXB annotations at both, the class level and field / property level. plugin https://github.com/mahiarmody/Mbg-Plugin-Jaxb/releases/tag/v1.0.0
Database Function Invoker This plugin enables incorporating or adding Database Function Invocations (such as the soundex, RawToHex, database encryption functions, etc) to the MyBatis Generator generated SQL Map files (XML mapper files). The invoked database functions could be built-in database functions or user defined database functions. plugin https://github.com/mahiarmody/Mbg-Plugin-Db_Function_Invoker/releases/tag/v1.0.0
mybatis-generator-gradle-plugin This plugin is based on mybatis generator maven plugin.This is a Gradle plugin of mybatis generator plugin(mbg).This plugin has all the features of mybatis generator maven plugin,but the plugin realization of groovy from gradle3.3. plugin gradle plugin page
github page
Lombok Annotations The Plugin can add Lombok annotations to the generated Java Model classes plugin https://github.com/WGKLoveStudy/mbg_lombok_plugin/tree/master
mybatis-generator-plugin The plugins (such as SelectOneByExamplePlugin, LimitPlugin, ModelBuilderPlugin, ExampleEnhancedPlugin, ExampleTargetPlugin, BatchInsertPlugin, LogicalDeletePlugin, ModelColumnPlugin, UpsertPlugin, SelectiveEnhancedPlugin, CommentPlugin, IncrementsPlugin, SelectSelectivePlugin, OptimisticLockerPlugin, TableRenameConfigurationPlugin, LombokPlugin, etc) base on 'XMLMAPPER' config and tested with Mysql. plugin https://github.com/itfsw/mybatis-generator-plugin
mygen The extension handle template and generate files extension https://github.com/iMinusMinus/extension/tree/master/mygen
mybatis-extension-plugin LombokPlugin
DomainPlugin
RepositoryPlugin
ServicePlugin
ControllerPlugin
plugin https://github.com/uinio/mybatis-extension-plugin

Type should be one of the following:

Type Description
plugin A plugin that can be configured with and developed according to http://mybatis.github.io/generator/reference/pluggingIn.html
extension An extension developed according to http://mybatis.github.io/generator/reference/extending.html
other Anything Else
Clone this wiki locally