类 Configuration
- java.lang.Object
-
- org.apache.ibatis.session.Configuration
-
- tk.mybatis.mapper.session.Configuration
-
public class Configuration extends org.apache.ibatis.session.Configuration使用提供的 Configuration 可以在纯 Java 或者 Spring(mybatis-spring-1.3.0+) 模式中使用- 作者:
- liuzh
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.apache.ibatis.session.Configuration
org.apache.ibatis.session.Configuration.StrictMap<V extends Object>
-
-
字段概要
-
从类继承的字段 org.apache.ibatis.session.Configuration
aggressiveLazyLoading, autoMappingBehavior, autoMappingUnknownColumnBehavior, cacheEnabled, cacheRefMap, caches, callSettersOnNulls, configurationFactory, databaseId, defaultExecutorType, defaultFetchSize, defaultStatementTimeout, environment, incompleteCacheRefs, incompleteMethods, incompleteResultMaps, incompleteStatements, interceptorChain, jdbcTypeForNull, keyGenerators, languageRegistry, lazyLoadingEnabled, lazyLoadTriggerMethods, loadedResources, localCacheScope, logImpl, logPrefix, mappedStatements, mapperRegistry, mapUnderscoreToCamelCase, multipleResultSetsEnabled, objectFactory, objectWrapperFactory, parameterMaps, proxyFactory, reflectorFactory, resultMaps, returnInstanceForEmptyRow, safeResultHandlerEnabled, safeRowBoundsEnabled, sqlFragments, typeAliasRegistry, typeHandlerRegistry, useActualParamName, useColumnLabel, useGeneratedKeys, variables, vfsImpl
-
-
构造器概要
构造器 构造器 说明 Configuration()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddMappedStatement(org.apache.ibatis.mapping.MappedStatement ms)voidsetConfig(Config config)使用 Config 配置voidsetMapperHelper(MapperHelper mapperHelper)直接注入 mapperHelpervoidsetMapperProperties(Properties properties)使用属性方式配置-
从类继承的方法 org.apache.ibatis.session.Configuration
addCache, addCacheRef, addIncompleteCacheRef, addIncompleteMethod, addIncompleteResultMap, addIncompleteStatement, addInterceptor, addKeyGenerator, addLoadedResource, addMapper, addMappers, addMappers, addParameterMap, addResultMap, buildAllStatements, checkGloballyForDiscriminatedNestedResultMaps, checkLocallyForDiscriminatedNestedResultMaps, extractNamespace, getAutoMappingBehavior, getAutoMappingUnknownColumnBehavior, getCache, getCacheNames, getCaches, getConfigurationFactory, getDatabaseId, getDefaultExecutorType, getDefaultFetchSize, getDefaultScriptingLanguageInstance, getDefaultScriptingLanuageInstance, getDefaultStatementTimeout, getEnvironment, getIncompleteCacheRefs, getIncompleteMethods, getIncompleteResultMaps, getIncompleteStatements, getInterceptors, getJdbcTypeForNull, getKeyGenerator, getKeyGeneratorNames, getKeyGenerators, getLanguageRegistry, getLazyLoadTriggerMethods, getLocalCacheScope, getLogImpl, getLogPrefix, getMappedStatement, getMappedStatement, getMappedStatementNames, getMappedStatements, getMapper, getMapperRegistry, getObjectFactory, getObjectWrapperFactory, getParameterMap, getParameterMapNames, getParameterMaps, getProxyFactory, getReflectorFactory, getResultMap, getResultMapNames, getResultMaps, getSqlFragments, getTypeAliasRegistry, getTypeHandlerRegistry, getVariables, getVfsImpl, hasCache, hasKeyGenerator, hasMapper, hasParameterMap, hasResultMap, hasStatement, hasStatement, isAggressiveLazyLoading, isCacheEnabled, isCallSettersOnNulls, isLazyLoadingEnabled, isMapUnderscoreToCamelCase, isMultipleResultSetsEnabled, isResourceLoaded, isReturnInstanceForEmptyRow, isSafeResultHandlerEnabled, isSafeRowBoundsEnabled, isUseActualParamName, isUseColumnLabel, isUseGeneratedKeys, newExecutor, newExecutor, newMetaObject, newParameterHandler, newResultSetHandler, newStatementHandler, setAggressiveLazyLoading, setAutoMappingBehavior, setAutoMappingUnknownColumnBehavior, setCacheEnabled, setCallSettersOnNulls, setConfigurationFactory, setDatabaseId, setDefaultEnumTypeHandler, setDefaultExecutorType, setDefaultFetchSize, setDefaultScriptingLanguage, setDefaultStatementTimeout, setEnvironment, setJdbcTypeForNull, setLazyLoadingEnabled, setLazyLoadTriggerMethods, setLocalCacheScope, setLogImpl, setLogPrefix, setMapUnderscoreToCamelCase, setMultipleResultSetsEnabled, setObjectFactory, setObjectWrapperFactory, setProxyFactory, setReflectorFactory, setReturnInstanceForEmptyRow, setSafeResultHandlerEnabled, setSafeRowBoundsEnabled, setUseActualParamName, setUseColumnLabel, setUseGeneratedKeys, setVariables, setVfsImpl
-
-
-
-
方法详细资料
-
setMapperHelper
public void setMapperHelper(MapperHelper mapperHelper)
直接注入 mapperHelper- 参数:
mapperHelper-
-
setMapperProperties
public void setMapperProperties(Properties properties)
使用属性方式配置- 参数:
properties-
-
setConfig
public void setConfig(Config config)
使用 Config 配置- 参数:
config-
-
addMappedStatement
public void addMappedStatement(org.apache.ibatis.mapping.MappedStatement ms)
- 覆盖:
addMappedStatement在类中org.apache.ibatis.session.Configuration
-
-