Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

CHAPTER 11: Using MyBatis in Spring > Getting Started with MyBatis in Spring

Getting Started with MyBatis in Spring

In this section, we will cover how to set up MyBatis to work with Spring. First we will provide a brief introduction to MyBatis, and then we will demonstrate how to create a project in STS for working with MyBatis. Also, we will present the data model that will be used for implementing the samples in this chapter. Finally, we will discuss the Spring configuration required for working with MyBatis.

Introducing MyBatis

iBATIS, the old name of MyBatis, was started by Clinton Begin in 2001, with the project code donated to Apache Software Foundation (ASF) in 2004. Based on its SQL mapping focus, simple infrastructure, and easy-to-understand mapping definitions from SQL queries to the Java OO model, iBATIS gained popularity quickly and became one of the most used data access libraries in the Java developer community.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial