O'Reilly logo

Java Persistence with MyBatis 3 by K. Siva Prasad Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Integration with Spring

MyBatis-Spring is a submodule of the MyBatis framework, which provides seamless integration with the popular dependency injection framework, Spring.

The Spring framework is a Dependency Injection and Aspect Oriented Programming (AOP) based Java application framework which encourages POJO-based programming model. Also, Spring provides declarative and programmatic transaction management capabilities, which greatly simplify the implementation of the data access layer of the application. In this chapter, we will see how to use MyBatis in a Spring-based application and use Spring's annotation-based transaction management strategy.

In this chapter we will cover the following topics:

  • Configuring MyBatis in a Spring application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required