Disclaimer

Binary compatible with MyBatis-3.1.0

Introduction

MyBatis is one of the best advanced persistence frameworks available for java, it can be used with Scala too, but the main API is Java centric. This sub-project is to provide a more scala friendly API, it does not uses any annotation, and all SQL (static and dynamic) can be declared directly and elegantly in your scala code.

API Structure

The API is structured in four main packages, each package contains types and objects related to a specific concern. They are Configuration, Mapping, Session and Cache.

  • Configuration package: org.mybatis.scala.config
  • Mapping package: org.mybatis.scala.mapping
  • Session package: org.mybatis.scala.session
  • Cache package: org.mybatis.scala.cache