Table of Contents

Getting Started with MyBatis

  Hello World

  Integration with Spring

Bootstrapping MyBatis

  Configuring MyBatis using XML

    Environment, DataSource, TransactionManager

    Properties

    typeAliases

    typeHandlers

    Settings

    Mappers

SQL Mappers Using XML

  Mapped statements

    The INSERT statement

  ResultMaps

    Extending ResultMaps

    One-to-one mapping

      One-to-one mapping using nested ResultMap

      One-to-one mapping using nested Select

    One-to-many mapping

  Dynamic SQL

MyBatis recipes

  Handling enumeration types

  Handling the CLOB/BLOB types

  Passing multiple input parameters

  Multiple results as a map

  Paginated ResultSets using RowBounds

  Custom ResultSet processing using ResultSetHandler

  Cache

原文地址:https://www.cnblogs.com/huey/p/5401962.html