Java Apache-2.0

generator

A code generator for MyBatis.

M

mybatis

Dernière activité 19 sept. 2026
mybatis/generator

5,3 k

étoiles

2,5 k

forks

7

issues ouvertes

code-generatorjava-8kotlinmybatismybatis-generatorsql-generation

Ce README est souvent en anglais.

MyBatis Generator (MBG)

Build Status Coverage Maven Central License Docs Quality Gate Status Security Rating

mybatis-generator

This is a code generator for MyBatis.

This library will generate code for use with MyBatis. It will introspect a database table (or many tables) and will generate artifacts that can be used to access the table(s). This lessens the initial nuisance of setting up objects and configuration files to interact with database tables. MBG seeks to make a major impact on the large percentage of database operations that are simple CRUD (Create, Retrieve, Update, Delete).

MBG can generate code in multiple styles (or "runtimes"). MBG can generate code for Java based projects, or for Kotlin based projects.

MBG can be run in multiple ways - from the command line, with an Ant task, as a Maven plugin, etc. See this page for details: Running MBG

Eclipse

There is an Eclipse feature for MBG as well. Here's how to install it:

Eclipse Update Site (Marketplace)

The easiest way to install the Eclipse feature is from the Eclipse Marketplace at this address: https://marketplace.eclipse.org/content/mybatis-generator

Eclipse Update Site (Direct)

You can also manually configure an Eclipse update site for the generator. The update site is here: https://jeffgbutler.github.io/mybatis-generator-update-site/

From the Release Bundle

You can manually install the plugin by downloading a zip file containing the update site from the GitHub release page here: https://github.com/mybatis/generator/releases

Projets similaires

MyBatis-Plus代码生成器

Javamybatismybatis-generatormybatis-plus
Ffengwenyi
629 étoiles234

MyBatis SQL mapper framework for Java

Javajavamybatissql
Mmybatis
20,4 k étoiles12,8 k

An powerful enhanced toolkit of MyBatis for simplify development

Javamybatismybatis-plusmybatis-spring
Bbaomidou
17,5 k étoiles4,4 k