Java Persistence
with MyBatis 3
A practical guide to MyBatis, a simple yet powerful
Java Persistence Framework!
K. Siva Prasad Reddy
BIRMINGHAM - MUMBAI
Java Persistence with MyBatis 3
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: June 2013
Production Reference: 1130613
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK..
ISBN 978-1-78216-680-1
www.packtpub.com
Cover Image by Suresh Mogre (suresh.mogre.99@gmail.com)
Credits
Author
K. Siva Prasad Reddy
Reviewers
Muhammad Edwin
Eduardo Macarrón
Acquisition Editor
Usha Iyer
Commissioning Editor
Ameya Sawant
Technical Editors
Jeeten Handu
Akshata Patil
Zafeer Rais
Copy Editor
Alda Paiva
Insiya Morbiwala
Laxmi Subramanian
Project Coordinator
Suraj Bist
Proofreader
Lesley Harrison
Indexer
Monica Ajmera Mehta
Graphics
Abhinash Sahu
Production Coordinator
Melwyn D’sa
Cover Work
Melwyn D’sa
About the Author
K. Siva Prasad Reddy is a Senior Software Engineer living in Hyderabad, India
and has more than six years’ experience in developing enterprise applications with
Java and JavaEE technologies. Siva is a Sun Certied Java Programmer and has a lot
of experience in server-side technologies such as Java, JavaEE, Spring, Hibernate,
MyBatis, JSF (PrimeFaces), and WebServices (SOAP/REST).
Siva normally shares the knowledge he has acquired on his blog
www.sivalabs.in.
If you want to nd out more information about his work, you can follow him
on Twitter (@sivalabs) and GitHub (https://github.com/sivaprasadreddy).
I would like to thank my wife Neha, as she supported me in every
step of the process and without her, this wouldn’t have been
possible. I thank my parents and my sister for their moral support in
helping me complete this dream.