mybatis/mybatis-3
MyBatis SQL mapper framework for Java observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 99
- Release rhythm 40
- 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: 18.0
- age_days: 4948
- days_rel: 608
- days_push: 7
- n_releases_24m: 3
Adoption not part of the score
20439 stars · 12867 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MyBatis is a first-class SQL mapping persistence framework for Java that couples objects with SQL statements or stored procedures via XML descriptors or annotations. It eliminates most JDBC boilerplate while keeping full control over the SQL, offering a simpler alternative to full ORM tools.
Use cases
- map Java POJOs to database records with custom SQL
- eliminate JDBC boilerplate for parameter setting and result retrieval
- call stored procedures from a Java application
- configure SQL mappings with XML or annotations
- manage database transactions and connections via SqlSessionFactory
- use a lightweight alternative to Hibernate for SQL-centric apps
When to choose
- you want full control over the SQL your application runs
- you need to map existing stored procedures to Java objects
- you find full ORM tools too heavy or magical for your data model
- you are building a Java or JVM backend that talks to a relational database
When to avoid
- you want automatic schema generation or full object-relational mapping without writing SQL
- you prefer query APIs like JPA Criteria or jOOQ over hand-written SQL
- you are not working on the JVM/Java platform
Facets
framework · maturity stable
orm database database-driver serialization databases backend web-development developer-tools jvm cross-platform sql-mapper persistence jdbc annotations xml-configuration pojo-mapping
3 sources
- readme: https://github.com/mybatis/mybatis-3 · fetched 2026-08-28 · f6f9e411f790
- homepage: http://mybatis.github.io/mybatis-3/ · fetched 2026-08-29 · e810ffd93178
- site_page: https://mybatis.org/mybatis-3/getting-started.html · fetched 2026-08-29 · 06fd280ac931
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mybatis/mybatis-3 | main | 79 |
For agents
markdown · JSON · MCP: product_card(name="mybatis/mybatis-3")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem