Install this theme

Posts tagged: mybatis

MyBatis Generator Plugins

MyBatis is a data mapping framework providing capabilities to map SQL statements to Java Objects using Annotations or XML.

(Typical) Mapping rules can be written by hand or automatically generated by MyBatis Generator.

MyBatis Generator will generate:

  • SqlMap XML Files
  • Java Classes to match the primary key and fields of the table(s)
  • Java Client Classes that use the above objects (optional)

Furthermore it is possible to write custom plugins to enhance the generation process and to provide additional capabilities to generated sources.

Several months ago i’ve written some MyBatis Generator Plugins presented in this post. Check out the project’s source code on GitHub: https://github.com/bigpuritz/mybatis-generator-plugins

Keep reading