Table of Contents - MyBatis

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

 

posted on 2016-04-17 19:55  huey2672  阅读(219)  评论(0编辑  收藏  举报