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.
- Author:
- Jeff Butler
-
Field Summary
Fields inherited from class org.mybatis.generator.codegen.AbstractGenerator
context, introspectedTable, progressCallback, warnings
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDeleteByPrimaryKeyMethod
(Interface interfaze) protected void
addInsertMethod
(Interface interfaze) protected void
addSelectByPrimaryKeyMethod
(Interface interfaze) protected void
addUpdateByPrimaryKeyWithBLOBsMethod
(Interface interfaze) protected void
addUpdateByPrimaryKeyWithoutBLOBsMethod
(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, initializeAndExecuteGenerator
Methods inherited from class org.mybatis.generator.codegen.AbstractJavaClientGenerator
requiresXMLGenerator
Methods inherited from class org.mybatis.generator.codegen.AbstractJavaGenerator
addDefaultConstructor, addDefaultConstructorWithGeneratedAnnotatoin, getGetter, getProject, getRootClass
Methods inherited from class org.mybatis.generator.codegen.AbstractGenerator
setContext, setIntrospectedTable, setProgressCallback, setWarnings
-
Constructor Details
-
MixedClientGenerator
-
-
Method Details
-
addDeleteByPrimaryKeyMethod
- Overrides:
addDeleteByPrimaryKeyMethod
in classJavaMapperGenerator
-
addInsertMethod
- Overrides:
addInsertMethod
in classJavaMapperGenerator
-
addSelectByPrimaryKeyMethod
- Overrides:
addSelectByPrimaryKeyMethod
in classJavaMapperGenerator
-
addUpdateByPrimaryKeyWithBLOBsMethod
- Overrides:
addUpdateByPrimaryKeyWithBLOBsMethod
in classJavaMapperGenerator
-
addUpdateByPrimaryKeyWithoutBLOBsMethod
- Overrides:
addUpdateByPrimaryKeyWithoutBLOBsMethod
in classJavaMapperGenerator
-
getMatchedXMLGenerator
Description copied from class:AbstractJavaClientGenerator
Returns an instance of the XML generator associated with this client generator.- Overrides:
getMatchedXMLGenerator
in classJavaMapperGenerator
- Returns:
- the matched XML generator. May return null if no XML is required by this generator
-