MyBatis Spring-Boot-Starter wires MyBatis into Spring Boot applications so you can use mappers with Boot auto-configuration. Released lines pair specific MyBatis, MyBatis-Spring, Java, and Spring Boot versions.
Overview
This package is the supported bridge between MyBatis SQL mapping and Spring Boot dependency management. Adding the starter lets Boot-oriented projects register MyBatis mappers, datasources, and related beans without hand-rolling equivalent configuration.
Maintainers publish compatibility tables across several starter branches, each tied to particular MyBatis core, MyBatis-Spring, minimum Java, and Spring Boot ranges. Documentation covers quick start, testing notes, native image guidance, and translations.
New projects can also be generated through Spring Initializr with MyBatis selected. Issue tracking and community questions are handled through the project's GitHub presence and linked wiki material.
Key features
- Spring Boot auto-configuration
- MyBatis mapper integration
- Version compatibility matrix
- Spring Initializr support
- Published reference docs
- Native image quick start notes
- Testing documentation
- Localized documentation builds
Use cases
- Boot apps using MyBatis mappers
- Using MyBatis with Spring Boot
- Standardizing MyBatis on Boot
- Prototype services via Initializr
- Aligned dependency upgrades