# mybatis-book/book

MyBatis 从入门到精通

Repository: https://github.com/mybatis-book/book
Canonical: https://ross.abutalabs.com/products/mybatis-book-book
Language: Java
License Family: other
Last push: 2022-04-09T02:47:09+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3360, "days_push": 1607, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1346, forks 573 (observed 2026-08-28T04:04:27.434366+00:00)

## What it is
Companion repository for the Chinese book 'MyBatis 从入门到精通' (MyBatis from Beginner to Master), containing all example source code from the book's 11 chapters. It covers MyBatis basics, dynamic SQL, code generation, caching, plugin development, and Spring/Spring Boot integration.

## Use cases
- learn mybatis from scratch
- mybatis xml and annotation crud examples
- mybatis dynamic sql best practices
- integrate mybatis with spring boot
- mybatis plugin development examples
- mybatis generator configuration examples
- mybatis caching with ehcache and redis

## When to choose
- you are learning MyBatis and want runnable example code for each chapter
- you need reference examples for dynamic SQL, advanced mapping, or MyBatis-Spring integration
- you read the book and want to follow along with its source code

## When to avoid
- you need a production-ready MyBatis library or starter template rather than tutorial code
- you want English-language documentation
- you need actively maintained, up-to-date dependency versions

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: orm, database, developer-tools, documentation
- domain: databases, tutorials, backend
- platform: jvm, cross-platform
- tags: mybatis, book, source-code-examples, spring, spring-boot, chinese, orm-tutorial, java

## Member repositories
- mybatis-book/book (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.434366+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:42.190187+00:00, confidence not recorded.
  - readme: https://github.com/mybatis-book/book (fetched 2026-08-28T04:04:27.434366+00:00, sha b7433b10dbb7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
