本文整理汇总了Java中org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator类的典型用法代码示例。如果您正苦于以下问题:Java AbstractJavaProviderMethodGenerator类的具体用法?Java AbstractJavaProviderMethodGenerator怎么用?Java AbstractJavaProviderMethodGenerator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AbstractJavaProviderMethodGenerator类属于org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider包,在下文中一共展示了AbstractJavaProviderMethodGenerator类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: addCountByExampleMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected boolean addCountByExampleMethod(TopLevelClass topLevelClass) {
boolean rc = false;
if (introspectedTable.getRules().generateCountByExample()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderCountByExampleMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
rc = true;
}
return rc;
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:11,代码来源:SqlProviderGenerator.java
示例2: addDeleteByExampleMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected boolean addDeleteByExampleMethod(TopLevelClass topLevelClass) {
boolean rc = false;
if (introspectedTable.getRules().generateDeleteByExample()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderDeleteByExampleMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
rc = true;
}
return rc;
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:11,代码来源:SqlProviderGenerator.java
示例3: addSelectByExampleWithBLOBsMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected boolean addSelectByExampleWithBLOBsMethod(
TopLevelClass topLevelClass) {
boolean rc = false;
if (introspectedTable.getRules().generateSelectByExampleWithBLOBs()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithBLOBsMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
rc = true;
}
return rc;
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:12,代码来源:SqlProviderGenerator.java
示例4: addSelectByExampleWithoutBLOBsMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected boolean addSelectByExampleWithoutBLOBsMethod(
TopLevelClass topLevelClass) {
boolean rc = false;
if (introspectedTable.getRules().generateSelectByExampleWithoutBLOBs()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderSelectByExampleWithoutBLOBsMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
rc = true;
}
return rc;
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:12,代码来源:SqlProviderGenerator.java
示例5: addUpdateByExampleSelectiveMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected boolean addUpdateByExampleSelectiveMethod(
TopLevelClass topLevelClass) {
boolean rc = false;
if (introspectedTable.getRules().generateUpdateByExampleSelective()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleSelectiveMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
rc = true;
}
return rc;
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:12,代码来源:SqlProviderGenerator.java
示例6: addUpdateByExampleWithBLOBsMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected boolean addUpdateByExampleWithBLOBsMethod(
TopLevelClass topLevelClass) {
boolean rc = false;
if (introspectedTable.getRules().generateUpdateByExampleWithBLOBs()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithBLOBsMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
rc = true;
}
return rc;
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:12,代码来源:SqlProviderGenerator.java
示例7: addUpdateByExampleWithoutBLOBsMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected boolean addUpdateByExampleWithoutBLOBsMethod(
TopLevelClass topLevelClass) {
boolean rc = false;
if (introspectedTable.getRules().generateUpdateByExampleWithoutBLOBs()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByExampleWithoutBLOBsMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
rc = true;
}
return rc;
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:12,代码来源:SqlProviderGenerator.java
示例8: addUpdateByPrimaryKeySelectiveMethod
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected void addUpdateByPrimaryKeySelectiveMethod(
TopLevelClass topLevelClass) {
if (introspectedTable.getRules().generateUpdateByPrimaryKeySelective()) {
AbstractJavaProviderMethodGenerator methodGenerator = new ProviderUpdateByPrimaryKeySelectiveMethodGenerator(useLegacyBuilder);
initializeAndExecuteGenerator(methodGenerator, topLevelClass);
}
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:8,代码来源:SqlProviderGenerator.java
示例9: initializeAndExecuteGenerator
import org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator; //导入依赖的package包/类
protected void initializeAndExecuteGenerator(
AbstractJavaProviderMethodGenerator methodGenerator,
TopLevelClass topLevelClass) {
methodGenerator.setContext(context);
methodGenerator.setIntrospectedTable(introspectedTable);
methodGenerator.setProgressCallback(progressCallback);
methodGenerator.setWarnings(warnings);
methodGenerator.addClassElements(topLevelClass);
}
开发者ID:bandaotixi,项目名称:generator_mybatis,代码行数:10,代码来源:SqlProviderGenerator.java
注:本文中的org.mybatis.generator.codegen.mybatis3.javamapper.elements.sqlprovider.AbstractJavaProviderMethodGenerator类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论