Non-spring sample project MyBatis
I am getting started with MyBatis, so I am looking for some good example projects that use the newest version of the standalone (non-w760>) MyBatis in order to better understand this technology.
The examples I keep finding either use outdated versions or use spring.
Can anyone suggest a good sample project?
+3
source to share
1 answer
Some helpful tips / introduction:
- DAO-XML Based MyBatis Step-by-Step Guide
http://hmkcode.com/java-mybatis-mysql/
- Sample project that shows using XML map and installing the library
- Koans project that helps to discover some key points.
https://github.com/quux00/mybatis-koans
- Another example project that uses annotations
http://java.dzone.com/articles/getting-started-ibatis-mybatis-0
- After a short introduction, I definitely recommend reading the official manual which shows most of the tricks when using MyBatis
+4
source to share