Class MyBatisSimpleContextGenerator
- java.lang.Object
-
- pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.AbstractCommonContextGenerator
-
- pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.MyBatisSimpleContextGenerator
-
- All Implemented Interfaces:
ContextGenerator
public class MyBatisSimpleContextGenerator extends AbstractCommonContextGenerator
The Mybatis simple context generator.- Version:
- 1.0.0
- Author:
- Gang Cheng
-
-
Constructor Summary
Constructors Constructor Description MyBatisSimpleContextGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.mybatis.generator.config.ContextnewContext()new contextGeneratorTypetargetGeneratorType()generator type-
Methods inherited from class pro.chenggang.project.reactive.mybatis.support.generator.core.context.impl.AbstractCommonContextGenerator
configureGeneratorPlugin, configureJavaClientGenerator, configureJavaType, configureJDBCConnection, configureModelGenerator, configureSqlMapGenerator, configureTable, determineGenerateComment, generateContext
-
-
-
-
Method Detail
-
targetGeneratorType
public GeneratorType 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
-
-