mybatis/generator

A code generator for MyBatis.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 45 minutes ago
Added to GitGenius on September 12th, 2026
Created on February 10th, 2013
Open Issues & Pull Requests: 7 (+0)
GitHub issues: Enabled
Number of forks: 2,472
Total Stargazers: 5,310 (+0)
Total Subscribers: 346 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 11.0 hours
Mean response time: 13.8 days
90th percentile: 9.5 days
Tracked items: 31

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 13% of issues opened in the past year have been closed. Three people close 90% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 464 days
Stale 30+ days: 3
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

MyBatis Generator is a code generator for MyBatis that automates the creation of database access code.

The tool addresses the initial setup burden of building objects and configuration files for database interaction by introspecting database tables and generating the artifacts needed to access them. It focuses on streamlining simple CRUD operations, which represent a large portion of typical database work. The generator examines table schemas and produces ready-to-use code that eliminates manual boilerplate creation.

The tool supports multiple code generation styles and can produce code for both Java and Kotlin projects. It offers flexible execution options including command-line invocation, Ant task integration, Maven plugin integration, and an Eclipse IDE feature available through the Eclipse Marketplace or manual update site configuration. Teams working with MyBatis who want to reduce setup time for new database tables should consider this tool, particularly when dealing with straightforward CRUD-heavy applications where generated code can provide immediate value.

The project maintains active engagement with its ecosystem, providing multiple distribution channels and integration points for different development workflows. Development activity shows consistent attention to supporting modern Java practices and language alternatives like Kotlin. The tool receives ongoing maintenance that keeps it aligned with current MyBatis usage patterns and development environments.