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

Summary

In this chapter we learned how to integrate MyBatis with the Spring framework. We also learned how to install the Spring libraries and register the MyBatis beans in Spring ApplicationContext. We saw how to configure and inject the SqlSession and Mapper beans and invoke the mapped statements. We also learned how to utilize Spring's annotation-based transaction-handling mechanism with MyBatis.

You have finished reading this book, congratulations! By now, you should know how to use MyBatis effectively to work with databases. You learned how to be more productive with MyBatis by leveraging your Java and SQL skills. You know how to write database persistence code using MyBatis in a much cleaner way, leaving all the low-level details to be handled ...

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