ZOYKU火线榜

mybatis/mybatis-3技术文档

MyBatis SQL mapper framework for Java

目录大纲 (TOC) (2 章节)▾
多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
git clone https://github.com/mybatis/mybatis-3.git

MyBatis SQL Mapper Framework for Java

build Coverage Status Quality Gate Status Maven Central License Docs Stack Overflow Project Stats

mybatis

The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented applications. MyBatis couples objects with stored procedures or SQL statements using an XML descriptor or annotations. Simplicity is the biggest advantage of the MyBatis data mapper over object relational mapping tools.

Contributions

See here

Tests

Run the default test suite with ./mvnw test. By default, the Maven configuration excludes tests tagged TestcontainersTests or RequireIllegalAccess.

The Java CI workflow defines the tested operating systems and JDK versions. It activates the testContainers profile on Linux, which includes TestcontainersTests while continuing to exclude RequireIllegalAccess.

To include the container-backed tests locally, run ./mvnw test -PtestContainers with a working container runtime.

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-09