Mybatis_example is a project mainly written in Java, it's free.
Java program demonstrating basic use of MyBatis data mapper.
This is example project that demonstrates use of MyBatis data mapper framework. Example is using XML to define mappings, I find it less readable when using annotations, but feel free to change this.
The program simply persists an entity (Person) to database and then fetches it from database.
Only thing you need to do to run this example is to setup a database. This example assumes following:
You can configure your own setup in mybatis-config.xml file.