Package | Description |
---|---|
tk.mybatis.mapper.autoconfigure | |
tk.mybatis.mapper.mapperhelper | |
tk.mybatis.mapper.mapperhelper.resolve | |
tk.mybatis.mapper.session | |
tk.mybatis.spring.mapper |
Modifier and Type | Class and Description |
---|---|
class |
MapperProperties
这个类存在的主要目的是方便 IDE 自动提示 mapper.
|
Modifier and Type | Method and Description |
---|---|
Config |
MapperTemplate.getConfig() |
Config |
MapperHelper.getConfig()
获取通用Mapper配置
|
Modifier and Type | Method and Description |
---|---|
static void |
EntityHelper.initEntityNameMap(Class<?> entityClass,
Config config)
初始化实体属性
|
void |
MapperHelper.setConfig(Config config)
设置通用Mapper配置
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultEntityResolve.processField(EntityTable entityTable,
EntityField field,
Config config,
Style style)
处理字段
|
EntityTable |
EntityResolve.resolveEntity(Class<?> entityClass,
Config config)
解析类为 EntityTable
|
EntityTable |
DefaultEntityResolve.resolveEntity(Class<?> entityClass,
Config config) |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.setConfig(Config config)
使用 Config 配置
|
Modifier and Type | Method and Description |
---|---|
void |
ClassPathMapperScanner.setConfig(Config config)
配置通用 Mapper
|
Copyright © 2018. All rights reserved.