September 2017
Beginner
313 pages
7h 15m
English
© K. Siva Prasad Reddy 2017
K. Siva Prasad Reddy, Beginning Spring Boot 2, https://doi.org/10.1007/978-1-4842-2931-6_6
K. Siva Prasad Reddy1
(1)Hyderabad, India
MyBatis is an open source Java persistence framework that abstracts JDBC boilerplate code and provides a simple and easy-to-use API to interact with the database.
Unlike Hibernate, which is a full-blown ORM framework, MyBatis is a SQL mapping framework. It automates the process of populating the SQL resultset into Java objects and it persists data into tables by extracting the data from the Java objects.
This chapter covers how to use the Spring Boot MyBatis starter, how to execute database queries using MyBatis XML, and how to use annotation-based mappers.
Read now
Unlock full access