Permalink
Browse files

Update README.md

  • Loading branch information...
mnesarco committed Aug 14, 2012
1 parent 7fc3690 commit d9da4af0a9f5b3cddc8fb0a0f07bbe051de884e5
Showing with 39 additions and 4 deletions.
  1. +39 −4 README.md
View
@@ -1,6 +1,41 @@
-Mybatis for Scala beta2
+# Mybatis for Scala (beta2) :: Code Samples
-Code samples
+Just clone it and run with SBT.
-Maven and SBT are supported.
-
+## Examples
+
+* __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.

0 comments on commit d9da4af

Please sign in to comment.