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 Java Tools category of a tech stack.
MyBatis is an open source tool with 12K GitHub stars and 7.7K GitHub forks. Here’s a link to MyBatis's open source repository on GitHub
Who uses MyBatis?
8 companies reportedly use MyBatis in their tech stacks, including Jobsrepublic, Luxottica Retail, and Consignet.
19 developers on StackShare have stated that they use MyBatis.
Why developers like MyBatis?
Here’s a list of reasons why companies and developers use MyBatis
Be the first to leave a pro
MyBatis Alternatives & Comparisons
What are some alternatives to MyBatis?
See all alternatives
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
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.
Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more.
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.