There are many Java-based persistence frameworks, however MyBatis became popular because of the following reasons:
Java has a Java DataBase Connectivity (JDBC) API to work with relational databases. But JDBC is a very low-level API, and we need to write a lot of code to perform database operations.
Let us examine how we can implement simple
select operations on a
STUDENTS table using plain JDBC.