Class MyBatisSimpleModelXmlContextGenerator
java.lang.Object
pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.AbstractCommonContextGenerator
pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.MyBatisSimpleModelXmlContextGenerator
- All Implemented Interfaces:
ContextGenerator
The Mybatis simple context generator.
- Version:
- 1.0.0
- Author:
- Gang Cheng
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureJavaClientGenerator(org.mybatis.generator.config.Context context, GeneratorProperties generatorProperties) configure java client generatorprotected org.mybatis.generator.config.Contextnew contextgenerator typeMethods inherited from class pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.AbstractCommonContextGenerator
configureGeneratorPlugin, configureJavaType, configureJDBCConnection, configureModelGenerator, configureSqlMapGenerator, configureTable, determineGenerateComment, generateContext
-
Constructor Details
-
MyBatisSimpleModelXmlContextGenerator
public MyBatisSimpleModelXmlContextGenerator()
-
-
Method Details
-
targetGeneratorType
Description copied from interface:ContextGeneratorgenerator type- Returns:
- generator type
-
newContext
protected org.mybatis.generator.config.Context newContext()Description copied from class:AbstractCommonContextGeneratornew context- Specified by:
newContextin classAbstractCommonContextGenerator- Returns:
- the context
-
configureJavaClientGenerator
protected void configureJavaClientGenerator(org.mybatis.generator.config.Context context, GeneratorProperties generatorProperties) Description copied from class:AbstractCommonContextGeneratorconfigure java client generator- Overrides:
configureJavaClientGeneratorin classAbstractCommonContextGenerator- Parameters:
context- the ContextgeneratorProperties- the generator properties
-