Code generator for MyBatis. Takes structure (metadata) of an existing database (using JDBC) and generates DAOs, mappers, and Mybatis configuration files.
Automatically generates select methods by PK, by FKs, by unique indexes, by example, as well as insert, update by PK/by example, and delete methods.
Provides simple navigation by FKs (to parents & to children) with autogenerated select methods.
Includes simplified transaction management and also standard MyBatis transactions.
All generated files can be regenerated later (because changes in DB) with no loss of custom code (java & mappings).
Be the first to post a review of Empusa for MyBatis!