Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Java Persistence with MyBatis 3

Buy

Getting started with the MYBatis framework is greatly simplified with this step-by-step guide that’s packed with practical exercises. Now you can quickly and confidently take your Java capabilities into the arena of data persistence.

Overview

  • Detailed instructions on how to use MyBatis with XML and Annotation-based SQL Mappers
  • An in-depth discussion on how to map complex SQL query results such as One-To-Many and Many-To-Many using MyBatis ResultMaps
  • Step-by-step instructions on how to integrate MyBatis with a Spring framework

In Detail

Storing and retrieving data to and from relational databases is a very common requirement, and is a crucial part of many applications. Even though Java provides a JDBC API for database access, it is not very effective and involves writing the boilerplate code again and again. Getting data out of a database, populating into Java objects, and persisting data from Java objects into a database using JDBC involves a lot of repetitive coding and is a very tedious process. MyBatis takes the simplest approach of leveraging the existing knowledge and power of Java and SQL yet provides powerful features to make data persistence implementation easy.

Java Persistence with MyBatis 3 is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you to understand how MyBatis works and how to use it for your real application needs. With MyBatis, you will learn how to use the MyBatis framework effectively through simple instructions.

Java Persistence with MyBatis 3 will highlight the cumbersome process of data persistence using plain JDBC and will also show you how easy it is to implement the same using MyBatis. You will also take a deeper look into the implementation of MyBatis with XML and Annotation-based Mappers, and finally learn how to integrate MyBatis with a Spring framework.

You will learn how to map Complex SQL query results to Java beans using XML and Annotation-based Mappers, including One-To-Many and Many-To-Many relationships. You will also learn how to use TypeAliases and Custom Type Handlers, and build dynamic queries using XML and SqlProvider annotations. It progresses to detailed instructions on integrating MyBatis with Spring and leveraging Spring’s Annotation-based transaction handling mechanism, which further simplifies the usage of MyBatis.With Java Persistence with MyBatis 3, you will learn how to use the MyBatis framework effectively through simple instructions.

What you will learn from this book

  • Simplify database persistence layer implementation
  • Install and configure MyBatis using XML and Java API
  • Map One-To-Many and Many-To-Many results using XML and Annotated Mappers
  • Use TypeAliases and Custom Type Handlers
  • Handle pagination and custom SQL ResultSet processing
  • Build Dynamic Queries using XML and SqlProvider annotations
  • Use Spring’s Annotation-based Transaction Handling with MyBatis

Approach

This book will have a practical approach, thus making it easy for the readers to understand and learn with step-by-step instructions.

Who this book is written for

This book is for Java developers who would like to learn all about the MyBatis framework and are looking for a practical guide to get started. The prerequisites required for this book are basic Java and SQL skills. No prior knowledge of MyBatis is expected.

(HTML tags aren't allowed.)

HTML5 Step by Step
HTML5 Step by Step

Hypertext Markup Language (HTML) is the underlying markup language of the World Wide Web. It’s the common thread that ties together virtually every Web site, from largescale corporate sites such as Microsoft’s to single-page classroom projects at the local grade school.

Don’t let the phrase “markup...

100 Great Problems of Elementary Mathematics (Dover classics of science & mathematics)
100 Great Problems of Elementary Mathematics (Dover classics of science & mathematics)

Problems that beset Archimedes, Newton, Euler, Cauchy, Gauss, Monge and other greats, ready to challenge today’s would-be problem solvers. Among them: How is a sundial constructed? How can you calculate the logarithm of a given number without the use of logarithm table? No advanced math is required. 100 problems with proofs.

A book...

Configuring Netscreen Firewalls
Configuring Netscreen Firewalls
Every enterprise requires at least one firewall to provide the backbone for its network
security architecture. Firewalls are the core component of your network’s
security.The risks today have greatly increased, so the call for a stronger breed of
firewall has been made. In the past, simple packet filtering firewalls allowing...

Core PHP Programming, Third Edition
Core PHP Programming, Third Edition

Core PHP Programming, Third Edition is the authoritative guide to the new PHP 5 for experienced developers. Top PHP developer Leon Atkinson and PHP 5 contributor/Zend Engine 2 co-creator Zeev Suraski cover every facet of real-world PHP 5 development, from basic syntax to advanced...

Web-to-Host Connectivity
Web-to-Host Connectivity
Nobody can dispute the incredible impact that the Web continues to have on the way in which people work, shop, research, play, and communicate. In the span of just a few short years, enterprises in nearly every industry and market have had to reevaluate the way in which they do business with their business partners and end customers. Having a...
Understanding and Using A Sewing Machine
Understanding and Using A Sewing Machine
With accessible and clear instructions, this book  teaches and builds upon basic skills to build up a repertoire of techniques and ideas, until you are able to design and adapt your own ideas and develop an individual sewing style. It guides you though winding the bobbin, threading the machine up correctly, and adjusting the...
©2021 LearnIT (support@pdfchm.net) - Privacy Policy