Back to rankings

mybatis/generator

Javamybatis.org/generator/

A code generator for MyBatis.

mybatissql-generationjava-8kotlincode-generatormybatis-generator
Star Growth
Stars
5.3k
Forks
2.5k
Weekly Growth
Issues
9
2k4k
Mar 2013Aug 2017Feb 2022Jul 2026
ArtifactsMavengit clone https://github.com/mybatis/generator.git
README

MyBatis Generator (MBG)

Build Status Coverage Maven Central License 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

Related repositories
macrozheng/mall

mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于Spring Boot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。

JavaMavenApache License 2.0spring-bootspring-security
macrozheng.com/admin/
84.3k29.8k
ityouknow/spring-boot-examples

about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。

JavaMavenspring-bootspring-data-jpa
ityouknow.com/spring-boot.html
30.5k12.2k
doocs/source-code-hunter

😱 从源码层面,剖析挖掘互联网行业主流技术的底层实现原理,为广大开发者 “提升技术深度” 提供便利。目前开放 Spring 全家桶,Mybatis、Netty、Dubbo 框架,及 Redis、Tomcat 中间件等

JavaMavenCreative Commons Attribution Share Alike 4.0 Internationalsourcecode-analysisspring
schunter.doocs.org
23.1k4.2k
mybatis/mybatis-3

MyBatis SQL mapper framework for Java

JavaMavenApache License 2.0sqlmybatis
mybatis.github.io/mybatis-3/
20.4k12.9k
baomidou/mybatis-plus

An powerful enhanced toolkit of MyBatis for simplify development

JavaMavenApache License 2.0mybatismybatis-plus
baomidou.com
17.4k4.4k
shuzheng/zheng

基于Spring+SpringMVC+Mybatis分布式敏捷开发系统架构,提供整套公共微服务服务模块:集中权限管理(单点登录)、内容管理、支付中心、用户管理(支持第三方登录)、微信平台、存储系统、配置中心、日志分析、任务和通知等,支持服务治理、监控和追踪,努力为中小型企业打造全方位J2EE企业级开发解决方案。

JavaMavenMIT Licensespringspringmvc
16.7k7.2k
JeffLi1993/springboot-learning-example

spring boot 实践学习案例,是 spring boot 初学者及核心技术巩固的最佳实践。

JavaMavenApache License 2.0springbootredis
16.6k7.1k
dyc87112/SpringBoot-Learning

《Spring Boot基础教程》,2.x版本持续连载中!点击下方链接直达教程目录!

JavaMavenspring-bootspring-cloud
blog.didispace.com/spring-boot-learning-2x/
15.7k4.8k
macrozheng/mall-learning

mall学习教程,架构、业务、技术要点全方位解析。mall项目(60k+star)是一套电商系统,使用现阶段主流技术实现。涵盖了SpringBoot、MyBatis、Elasticsearch、RabbitMQ、Redis、MongoDB、MySQL等技术,采用Docker容器化部署。

JavaMavenspringbootmybatis
macrozheng.com
13.4k8.3k
macrozheng/mall-swarm

mall-swarm是一套微服务商城系统,采用了 Spring Cloud Alibaba、Spring Boot 3.5、Sa-Token、MyBatis、Elasticsearch、Docker、Kubernetes等核心技术,同时提供了基于Vue的管理后台方便快速搭建系统。mall-swarm在电商业务的基础集成了注册中心、配置中心、监控中心、网关等系统功能。

JavaMavenApache License 2.0springcloudspringboot
cloud.macrozheng.com
13k5.5k
pagehelper-org/Mybatis-PageHelper

Mybatis通用分页插件

JavaMavenMIT Licensemybatis-pluginmybatis
mybatis.io
12.4k3.1k
pagehelper/Mybatis-PageHelper

Mybatis通用分页插件

JavaMavenMIT Licensemybatis-pluginmybatis
mybatis.io
12.3k3.1k