use of org.mybatis.generator.codegen.ibatis2.dao.elements.InsertMethodGenerator in project generator by mybatis.
the class DAOGenerator method addInsertMethod.
protected void addInsertMethod(TopLevelClass topLevelClass, Interface interfaze) {
if (introspectedTable.getRules().generateInsert()) {
AbstractDAOElementGenerator methodGenerator = new InsertMethodGenerator();
initializeAndExecuteGenerator(methodGenerator, topLevelClass, interfaze);
}
}
Aggregations