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