In this chapter, we will cover the following topics:
MyBatis is an open source persistence framework that simplifies the implementation of the persistence layer by abstracting a lot of JDBC boilerplate code and provides a simple and easy-to-use API to interact with the database.
MyBatis was formerly known as iBATIS and was started by Clinton Begin in 2002. MyBatis 3 is a complete redesign of iBATIS, with annotations and Mapper support.
The main reason for the popularity of MyBatis is its simplicity and ease of use. In Java applications, the persistence layer involves populating Java objects with data loaded from ...