Class MixedClientGenerator
java.lang.Object
org.mybatis.generator.codegen.AbstractGenerator
org.mybatis.generator.codegen.AbstractJavaGenerator
org.mybatis.generator.codegen.AbstractJavaClientGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.JavaMapperGenerator
org.mybatis.generator.codegen.mybatis3.javamapper.MixedClientGenerator
This class overrides the base mapper to provide annotated methods for the
methods that don't require SQL provider support.
-
Field Summary
Fields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDeleteByPrimaryKeyMethod(Interface interfaze) protected voidaddInsertMethod(Interface interfaze) protected voidaddSelectByPrimaryKeyMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeyWithBLOBsMethod(Interface interfaze) protected voidaddUpdateByPrimaryKeyWithoutBLOBsMethod(Interface interfaze) Returns an instance of the XML generator associated with this client generator.Methods inherited from class org.mybatis.generator.codegen.mybatis3.javamapper.JavaMapperGenerator
addCountByExampleMethod, addDeleteByExampleMethod, addInsertSelectiveMethod, addSelectByExampleWithBLOBsMethod, addSelectByExampleWithoutBLOBsMethod, addUpdateByExampleSelectiveMethod, addUpdateByExampleWithBLOBsMethod, addUpdateByExampleWithoutBLOBsMethod, addUpdateByPrimaryKeySelectiveMethod, getCompilationUnits, getExtraCompilationUnits, initializeAndExecuteGeneratorMethods inherited from class org.mybatis.generator.codegen.AbstractJavaClientGenerator
requiresXMLGeneratorMethods inherited from class org.mybatis.generator.codegen.AbstractJavaGenerator
addDefaultConstructor, addDefaultConstructorWithGeneratedAnnotatoin, getGetter, getProject, getRootClassMethods inherited from class org.mybatis.generator.codegen.AbstractGenerator
setContext, setIntrospectedTable, setProgressCallback, setWarnings
-
Constructor Details
-
MixedClientGenerator
-
-
Method Details
-
addDeleteByPrimaryKeyMethod
- Overrides:
addDeleteByPrimaryKeyMethodin classJavaMapperGenerator
-
addInsertMethod
- Overrides:
addInsertMethodin classJavaMapperGenerator
-
addSelectByPrimaryKeyMethod
- Overrides:
addSelectByPrimaryKeyMethodin classJavaMapperGenerator
-
addUpdateByPrimaryKeyWithBLOBsMethod
- Overrides:
addUpdateByPrimaryKeyWithBLOBsMethodin classJavaMapperGenerator
-
addUpdateByPrimaryKeyWithoutBLOBsMethod
- Overrides:
addUpdateByPrimaryKeyWithoutBLOBsMethodin classJavaMapperGenerator
-
getMatchedXMLGenerator
Description copied from class:AbstractJavaClientGeneratorReturns an instance of the XML generator associated with this client generator.- Overrides:
getMatchedXMLGeneratorin classJavaMapperGenerator- Returns:
- the matched XML generator. May return null if no XML is required by this generator
-