Ross ROSS = Recommend OSS · open-source software intelligence for agents

mybatis/generator

A code generator for MyBatis. observed · 2026-08-28

github.com/mybatis/generator · homepage · Java · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

81/100

  • Activity 99
  • Release rhythm 46
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4952
  • days_rel: 147
  • days_push: 7
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

5313 stars · 2474 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

MyBatis Generator (MBG) is a code generator that introspects database tables and generates Java or Kotlin model classes and MyBatis mapper code for CRUD access. It runs from the command line, as a Maven plugin, Ant task, or Eclipse plugin.

Use cases

  • generate mybatis mapper and model classes from database tables
  • scaffold crud code for a java project
  • generate kotlin data classes from a database schema
  • avoid writing boilerplate mybatis xml configuration
  • generate java records matching table structure

When to choose

  • you use MyBatis and want to eliminate boilerplate for simple CRUD operations
  • you want generated code based on an existing database schema
  • you prefer annotation-based or MyBatis Dynamic SQL code over hand-written XML

When to avoid

  • you need complex join queries or stored procedures - MBG only covers simple CRUD
  • you use an ORM other than MyBatis
  • you want a full runtime ORM framework rather than generated code

Facets

library · maturity stable

orm database developer-tools cli plugin-system databases developer-tools backend web-development jvm cli editor-plugin mybatis code-generation crud kotlin maven-plugin eclipse-plugin boilerplate

3 sources

Member repositories

RepositoryRoleHealth v2
mybatis/generatormain81

For agents

markdown · JSON · MCP: product_card(name="mybatis/generator")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem