org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.ProviderInsertSelectiveMethodGenerator Java Examples

The following examples show how to use org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.ProviderInsertSelectiveMethodGenerator. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SqlProviderGenerator.java    From mapper-generator-javafx with Apache License 2.0 5 votes vote down vote up
protected void addInsertSelectiveMethod(TopLevelClass topLevelClass) {
    if (introspectedTable.getRules().generateInsertSelective()) {
        AbstractJavaProviderMethodGenerator methodGenerator =
                new ProviderInsertSelectiveMethodGenerator(useLegacyBuilder);
        initializeAndExecuteGenerator(methodGenerator, topLevelClass);
    }
}
 
Example #2
Source File: SqlProviderGenerator.java    From mybatis-generator-core-fix with Apache License 2.0 4 votes vote down vote up
protected void addInsertSelectiveMethod(TopLevelClass topLevelClass) {
    if (introspectedTable.getRules().generateInsertSelective()) {
        AbstractJavaProviderMethodGenerator methodGenerator = new ProviderInsertSelectiveMethodGenerator(useLegacyBuilder);
        initializeAndExecuteGenerator(methodGenerator, topLevelClass);
    }
}
 
Example #3
Source File: SqlProviderGenerator.java    From mybatis-generator-plus with Apache License 2.0 4 votes vote down vote up
protected void addInsertSelectiveMethod(TopLevelClass topLevelClass) {
    if (introspectedTable.getRules().generateInsertSelective()) {
        AbstractJavaProviderMethodGenerator methodGenerator = new ProviderInsertSelectiveMethodGenerator();
        initializeAndExecuteGenerator(methodGenerator, topLevelClass);
    }
}