223
177
+ 1
17

What is MyBatis?

It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records.
MyBatis is a tool in the Object Relational Mapper (ORM) category of a tech stack.
MyBatis is an open source tool with 19.7K GitHub stars and 12.8K GitHub forks. Here’s a link to MyBatis's open source repository on GitHub

Who uses MyBatis?

Companies
19 companies reportedly use MyBatis in their tech stacks, including Tech-Stack, apkg, and MOVILL.

Developers
159 developers on StackShare have stated that they use MyBatis.
Pros of MyBatis
6
Easy to use
3
Flexible
3
Extensions
3
Integrated with Spring
2
Data-first support

MyBatis Alternatives & Comparisons

What are some alternatives to MyBatis?
Hibernate
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
Flyway
It lets you regain control of your database migrations with pleasure and plain sql. Solves only one problem and solves it well. It migrates your database, so you don't have to worry about it anymore.
Spring Data
It makes it easy to use data access technologies, relational and non-relational databases, map-reduce frameworks, and cloud-based data services. This is an umbrella project which contains many subprojects that are specific to a given database.
jOOQ
It implements the active record pattern. Its purpose is to be both relational and object oriented by providing a domain-specific language to construct queries from classes generated from a database schema.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
See all alternatives

MyBatis's Followers
177 developers follow MyBatis to keep up with related blogs and decisions.