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

http://www.javacodegeeks.com/2012/11/mybatis-tutorial-crud-operations-and-mapping-relationships-part-1.html

  • 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

http://mybatis.github.io/mybatis-3/getting-started.html

+4


source







All Articles