Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Code Samples of Mybatis For Scala Beta2

branch: master
Octocat-spinner-32 project Init August 08, 2012
Octocat-spinner-32 src Immutable case class mapping example added November 12, 2012
Octocat-spinner-32 LICENSE Init August 08, 2012
Octocat-spinner-32 NOTICE Init August 08, 2012
Octocat-spinner-32 Update August 13, 2012
Octocat-spinner-32 pom.xml Init August 08, 2012

Mybatis for Scala (beta2) :: Code Samples

Just clone it and run with SBT.


  • select/SelectSample.scala

    Select a list of beans and print some data.

  • resultmap/SelectWithResultmapSample.scala

    Select a graph of beans using a ResultMap

  • performance/ProfileTest.scala

    Select one million rows. Fisrt load it into memory, then load it one by one to save memory.

  • delete/DeleteSample.scala

    Delete some beans.

  • crud/*

    Create-Retrieve-Update-Delete example.

  • insert/InsertSample.scala

    Simple insertion example.

  • insert/InsertSampleBatch.scala

    Simple insertion example with batch excecutor.

  • update/UpdateSample.scala

    Update some beans.

  • nestedselect/NestedSelectSample.scala

    Fetch associations with nested selects. Just for illustration.

Something went wrong with that request. Please try again.