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