public class SemiMybatisConfiguration
extends org.apache.ibatis.session.Configuration
aggressiveLazyLoading, argNameBasedConstructorAutoMapping, autoMappingBehavior, autoMappingUnknownColumnBehavior, cacheEnabled, cacheRefMap, caches, callSettersOnNulls, configurationFactory, databaseId, defaultExecutorType, defaultFetchSize, defaultResultSetType, defaultSqlProviderType, defaultStatementTimeout, environment, incompleteCacheRefs, incompleteMethods, incompleteResultMaps, incompleteStatements, interceptorChain, jdbcTypeForNull, keyGenerators, languageRegistry, lazyLoadingEnabled, lazyLoadTriggerMethods, loadedResources, localCacheScope, logImpl, logPrefix, mappedStatements, mapperRegistry, mapUnderscoreToCamelCase, multipleResultSetsEnabled, nullableOnForEach, objectFactory, objectWrapperFactory, parameterMaps, proxyFactory, reflectorFactory, resultMaps, returnInstanceForEmptyRow, safeResultHandlerEnabled, safeRowBoundsEnabled, shrinkWhitespacesInSql, sqlFragments, typeAliasRegistry, typeHandlerRegistry, useActualParamName, useColumnLabel, useGeneratedKeys, variables, vfsImpl| 构造器和说明 |
|---|
SemiMybatisConfiguration() |
SemiMybatisConfiguration(org.apache.ibatis.mapping.Environment environment) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addSensitiveMappedStatementIds(String id)
添加需要解密的MapperStatement,只有在默认不解密的情况下需要设置
|
protected void |
buildAllStatements() |
GlobalConfig |
getGlobalConfig() |
InjectMethod |
getInjectMethod(String id) |
InjectProcessor |
getInjectProcessor() |
KeyCreator<?> |
getKeyCreator(IdType idType) |
org.apache.ibatis.mapping.MappedStatement |
getMappedStatement(String id) |
org.apache.ibatis.mapping.MappedStatement |
getMappedStatement(String id,
boolean validateIncompleteStatements) |
boolean |
isSensitiveDecrypt(String id)
判断是否需要解密
|
org.apache.ibatis.executor.parameter.ParameterHandler |
newParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement,
Object parameterObject,
org.apache.ibatis.mapping.BoundSql boundSql) |
org.apache.ibatis.executor.resultset.ResultSetHandler |
newResultSetHandler(org.apache.ibatis.executor.Executor executor,
org.apache.ibatis.mapping.MappedStatement mappedStatement,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler,
org.apache.ibatis.session.ResultHandler resultHandler,
org.apache.ibatis.mapping.BoundSql boundSql) |
void |
setGlobalConfig(GlobalConfig globalConfig) |
void |
setInjectProcessor(InjectProcessor injectProcessor) |
void |
setKeyCreator(IdType idType,
KeyCreator<?> keyCreator) |
void |
setKeyCreators() |
addCache, addCacheRef, addIncompleteCacheRef, addIncompleteMethod, addIncompleteResultMap, addIncompleteStatement, addInterceptor, addKeyGenerator, addLoadedResource, addMappedStatement, addMapper, addMappers, addMappers, addParameterMap, addResultMap, checkGloballyForDiscriminatedNestedResultMaps, checkLocallyForDiscriminatedNestedResultMaps, extractNamespace, getAutoMappingBehavior, getAutoMappingUnknownColumnBehavior, getCache, getCacheNames, getCaches, getConfigurationFactory, getDatabaseId, getDefaultExecutorType, getDefaultFetchSize, getDefaultResultSetType, getDefaultScriptingLanguageInstance, getDefaultScriptingLanuageInstance, getDefaultSqlProviderType, getDefaultStatementTimeout, getEnvironment, getIncompleteCacheRefs, getIncompleteMethods, getIncompleteResultMaps, getIncompleteStatements, getInterceptors, getJdbcTypeForNull, getKeyGenerator, getKeyGeneratorNames, getKeyGenerators, getLanguageDriver, getLanguageRegistry, getLazyLoadTriggerMethods, getLocalCacheScope, getLogImpl, getLogPrefix, 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, isArgNameBasedConstructorAutoMapping, isCacheEnabled, isCallSettersOnNulls, isLazyLoadingEnabled, isMapUnderscoreToCamelCase, isMultipleResultSetsEnabled, isNullableOnForEach, isResourceLoaded, isReturnInstanceForEmptyRow, isSafeResultHandlerEnabled, isSafeRowBoundsEnabled, isShrinkWhitespacesInSql, isUseActualParamName, isUseColumnLabel, isUseGeneratedKeys, newExecutor, newExecutor, newMetaObject, newStatementHandler, setAggressiveLazyLoading, setArgNameBasedConstructorAutoMapping, setAutoMappingBehavior, setAutoMappingUnknownColumnBehavior, setCacheEnabled, setCallSettersOnNulls, setConfigurationFactory, setDatabaseId, setDefaultEnumTypeHandler, setDefaultExecutorType, setDefaultFetchSize, setDefaultResultSetType, setDefaultScriptingLanguage, setDefaultSqlProviderType, setDefaultStatementTimeout, setEnvironment, setJdbcTypeForNull, setLazyLoadingEnabled, setLazyLoadTriggerMethods, setLocalCacheScope, setLogImpl, setLogPrefix, setMapUnderscoreToCamelCase, setMultipleResultSetsEnabled, setNullableOnForEach, setObjectFactory, setObjectWrapperFactory, setProxyFactory, setReflectorFactory, setReturnInstanceForEmptyRow, setSafeResultHandlerEnabled, setSafeRowBoundsEnabled, setShrinkWhitespacesInSql, setUseActualParamName, setUseColumnLabel, setUseGeneratedKeys, setVariables, setVfsImplpublic SemiMybatisConfiguration(org.apache.ibatis.mapping.Environment environment)
public SemiMybatisConfiguration()
public org.apache.ibatis.mapping.MappedStatement getMappedStatement(String id)
getMappedStatement 在类中 org.apache.ibatis.session.Configurationpublic org.apache.ibatis.mapping.MappedStatement getMappedStatement(String id, boolean validateIncompleteStatements)
getMappedStatement 在类中 org.apache.ibatis.session.Configurationpublic org.apache.ibatis.executor.parameter.ParameterHandler newParameterHandler(org.apache.ibatis.mapping.MappedStatement mappedStatement,
Object parameterObject,
org.apache.ibatis.mapping.BoundSql boundSql)
newParameterHandler 在类中 org.apache.ibatis.session.Configurationpublic org.apache.ibatis.executor.resultset.ResultSetHandler newResultSetHandler(org.apache.ibatis.executor.Executor executor,
org.apache.ibatis.mapping.MappedStatement mappedStatement,
org.apache.ibatis.session.RowBounds rowBounds,
org.apache.ibatis.executor.parameter.ParameterHandler parameterHandler,
org.apache.ibatis.session.ResultHandler resultHandler,
org.apache.ibatis.mapping.BoundSql boundSql)
newResultSetHandler 在类中 org.apache.ibatis.session.Configurationprotected void buildAllStatements()
buildAllStatements 在类中 org.apache.ibatis.session.Configurationpublic GlobalConfig getGlobalConfig()
public void setGlobalConfig(GlobalConfig globalConfig)
public InjectMethod getInjectMethod(String id)
public InjectProcessor getInjectProcessor()
public void setInjectProcessor(InjectProcessor injectProcessor)
public void setKeyCreators()
public void setKeyCreator(IdType idType, KeyCreator<?> keyCreator)
public KeyCreator<?> getKeyCreator(IdType idType)
public void addSensitiveMappedStatementIds(String id)
id - mappedStatement Idpublic boolean isSensitiveDecrypt(String id)
id - mappedStatement IdCopyright © 2024. All rights reserved.