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

上一篇:dev uploadcontrol 上传图片


下一篇:Mybaits 源码解析 (三)----- Mapper接口底层原理(为什么Mapper不用写实现类就能访问到数据库?)