MyBatis小抄

持续更新中。

  • Every MyBatis application centers around an instance of SqlSessionFactory
  • A cleaner approch to excecuting SQL commands : using an interface that describes the parameters and return value for a given statement(cleaner, more type safe, without error prone string literals and casting)
  • Mapped SQL statements
  • One SqlSessionFactory instance per database

 

posted @ 2016-03-18 12:59  赫尔修斯  阅读(86)  评论(0编辑  收藏  举报