org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator Java Examples
The following examples show how to use
org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator.
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 mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleSelectiveMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleSelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleSelectiveMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #2
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected void initializeAndExecuteGenerator( AbstractJavaProviderMethodGenerator methodGenerator, TopLevelClass topLevelClass) { methodGenerator.setContext(context); methodGenerator.setIntrospectedTable(introspectedTable); methodGenerator.setProgressCallback(progressCallback); methodGenerator.setWarnings(warnings); methodGenerator.addClassElements(topLevelClass); }
Example #3
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected void addUpdateByPrimaryKeySelectiveMethod( TopLevelClass topLevelClass) { if (introspectedTable.getRules().generateUpdateByPrimaryKeySelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByPrimaryKeySelectiveMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); } }
Example #4
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleWithoutBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleWithoutBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithoutBLOBsMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #5
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleWithBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleWithBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithBLOBsMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #6
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleSelectiveMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleSelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleSelectiveMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #7
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected boolean addSelectByExampleWithoutBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateSelectByExampleWithoutBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithoutBLOBsMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #8
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected boolean addSelectByExampleWithBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateSelectByExampleWithBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithBLOBsMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #9
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected boolean addDeleteByExampleMethod(TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateDeleteByExample()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderDeleteByExampleMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #10
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
protected boolean addCountByExampleMethod(TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateCountByExample()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderCountByExampleMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #11
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected void initializeAndExecuteGenerator( AbstractJavaProviderMethodGenerator methodGenerator, TopLevelClass topLevelClass) { methodGenerator.setContext(context); methodGenerator.setIntrospectedTable(introspectedTable); methodGenerator.setProgressCallback(progressCallback); methodGenerator.setWarnings(warnings); methodGenerator.addClassElements(topLevelClass); }
Example #12
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected void addUpdateByPrimaryKeySelectiveMethod( TopLevelClass topLevelClass) { if (introspectedTable.getRules().generateUpdateByPrimaryKeySelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByPrimaryKeySelectiveMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); } }
Example #13
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleWithoutBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleWithoutBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithoutBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #14
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleWithBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleWithBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #15
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected boolean addCountByExampleMethod(TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateCountByExample()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderCountByExampleMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #16
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected boolean addSelectByExampleWithBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateSelectByExampleWithBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #17
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected boolean addDeleteByExampleMethod(TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateDeleteByExample()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderDeleteByExampleMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #18
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected void addInsertSelectiveMethod(TopLevelClass topLevelClass) { if (introspectedTable.getRules().generateInsertSelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderInsertSelectiveMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); } }
Example #19
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected boolean addSelectByExampleWithBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateSelectByExampleWithBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #20
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected boolean addSelectByExampleWithoutBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateSelectByExampleWithoutBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithoutBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #21
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleSelectiveMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleSelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleSelectiveMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #22
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleWithBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleWithBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #23
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected boolean addUpdateByExampleWithoutBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateUpdateByExampleWithoutBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithoutBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #24
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected void addUpdateByPrimaryKeySelectiveMethod( TopLevelClass topLevelClass) { if (introspectedTable.getRules().generateUpdateByPrimaryKeySelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByPrimaryKeySelectiveMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); } }
Example #25
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 5 votes |
protected void initializeAndExecuteGenerator( AbstractJavaProviderMethodGenerator methodGenerator, TopLevelClass topLevelClass) { methodGenerator.setContext(context); methodGenerator.setIntrospectedTable(introspectedTable); methodGenerator.setProgressCallback(progressCallback); methodGenerator.setWarnings(warnings); methodGenerator.addClassElements(topLevelClass); }
Example #26
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected boolean addCountByExampleMethod(TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateCountByExample()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderCountByExampleMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #27
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected boolean addDeleteByExampleMethod(TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateDeleteByExample()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderDeleteByExampleMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #28
Source File: SqlProviderGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
protected boolean addSelectByExampleWithoutBLOBsMethod( TopLevelClass topLevelClass) { boolean rc = false; if (introspectedTable.getRules().generateSelectByExampleWithoutBLOBs()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithoutBLOBsMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); rc = true; } return rc; }
Example #29
Source File: SqlProviderGenerator.java From mybatis-generator-plus with Apache License 2.0 | 4 votes |
protected void addInsertSelectiveMethod(TopLevelClass topLevelClass) { if (introspectedTable.getRules().generateInsertSelective()) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderInsertSelectiveMethodGenerator(); initializeAndExecuteGenerator(methodGenerator, topLevelClass); } }
Example #30
Source File: SqlProviderGenerator.java From mapper-generator-javafx with Apache License 2.0 | 4 votes |
protected void addApplyWhereMethod(TopLevelClass topLevelClass) { AbstractJavaProviderMethodGenerator methodGenerator = new ProviderApplyWhereMethodGenerator(useLegacyBuilder); initializeAndExecuteGenerator(methodGenerator, topLevelClass); }