Introduction
What is MyBatis?
MyBatis is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. MyBatis eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. MyBatis can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.
If you are completely new to database access in Java, https://www.marcobehler.com/guides/a-guide-to-accessing-databases-in-java contains a good overview of the various parts, pieces and options and shows you where exactly MyBatis fits in.
Help make this documentation better…
If you find this documentation lacking in any way, or missing documentation for a feature, then the best thing to do is learn about it and then write the documentation yourself!
Sources of this manual are available in Markdown format at project's Git. Fork the repository, update them and send a pull request.
You’re the best author of this documentation, people like you have to read it!
Translations
Users can read about MyBatis in following translations:
Do you want to read about MyBatis in your own native language? File an issue providing patches with your mother tongue documentation!