Class MybatisProperties.CoreConfiguration
java.lang.Object
org.mybatis.spring.boot.autoconfigure.MybatisProperties.CoreConfiguration
- Enclosing class:
- MybatisProperties
The configuration properties for mybatis core module.
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(org.apache.ibatis.session.Configuration target) org.apache.ibatis.session.AutoMappingBehavior
org.apache.ibatis.session.AutoMappingUnknownColumnBehavior
Class<?>
Class<? extends org.apache.ibatis.type.TypeHandler>
org.apache.ibatis.session.ExecutorType
org.apache.ibatis.mapping.ResultSetType
Class<?>
org.apache.ibatis.type.JdbcType
org.apache.ibatis.session.LocalCacheScope
Class<? extends org.apache.ibatis.logging.Log>
Class<? extends org.apache.ibatis.io.VFS>
void
setAggressiveLazyLoading
(Boolean aggressiveLazyLoading) void
setArgNameBasedConstructorAutoMapping
(Boolean argNameBasedConstructorAutoMapping) void
setAutoMappingBehavior
(org.apache.ibatis.session.AutoMappingBehavior autoMappingBehavior) void
setAutoMappingUnknownColumnBehavior
(org.apache.ibatis.session.AutoMappingUnknownColumnBehavior autoMappingUnknownColumnBehavior) void
setCacheEnabled
(Boolean cacheEnabled) void
setCallSettersOnNulls
(Boolean callSettersOnNulls) void
setConfigurationFactory
(Class<?> configurationFactory) void
setDefaultEnumTypeHandler
(Class<? extends org.apache.ibatis.type.TypeHandler> defaultEnumTypeHandler) void
setDefaultExecutorType
(org.apache.ibatis.session.ExecutorType defaultExecutorType) void
setDefaultFetchSize
(Integer defaultFetchSize) void
setDefaultResultSetType
(org.apache.ibatis.mapping.ResultSetType defaultResultSetType) void
setDefaultSqlProviderType
(Class<?> defaultSqlProviderType) void
setDefaultStatementTimeout
(Integer defaultStatementTimeout) void
setJdbcTypeForNull
(org.apache.ibatis.type.JdbcType jdbcTypeForNull) void
setLazyLoadingEnabled
(Boolean lazyLoadingEnabled) void
setLazyLoadTriggerMethods
(Set<String> lazyLoadTriggerMethods) void
setLocalCacheScope
(org.apache.ibatis.session.LocalCacheScope localCacheScope) void
setLogImpl
(Class<? extends org.apache.ibatis.logging.Log> logImpl) void
setLogPrefix
(String logPrefix) void
setMapUnderscoreToCamelCase
(Boolean mapUnderscoreToCamelCase) void
setMultipleResultSetsEnabled
(Boolean multipleResultSetsEnabled) void
setNullableOnForEach
(Boolean nullableOnForEach) void
setReturnInstanceForEmptyRow
(Boolean returnInstanceForEmptyRow) void
setSafeResultHandlerEnabled
(Boolean safeResultHandlerEnabled) void
setSafeRowBoundsEnabled
(Boolean safeRowBoundsEnabled) void
setShrinkWhitespacesInSql
(Boolean shrinkWhitespacesInSql) void
setUseActualParamName
(Boolean useActualParamName) void
setUseColumnLabel
(Boolean useColumnLabel) void
setUseGeneratedKeys
(Boolean useGeneratedKeys) void
setVariables
(Properties variables) void
setVfsImpl
(Class<? extends org.apache.ibatis.io.VFS> vfsImpl)
-
Constructor Details
-
CoreConfiguration
public CoreConfiguration()
-
-
Method Details
-
getSafeRowBoundsEnabled
-
setSafeRowBoundsEnabled
-
getSafeResultHandlerEnabled
-
setSafeResultHandlerEnabled
-
getMapUnderscoreToCamelCase
-
setMapUnderscoreToCamelCase
-
getAggressiveLazyLoading
-
setAggressiveLazyLoading
-
getMultipleResultSetsEnabled
-
setMultipleResultSetsEnabled
-
getUseGeneratedKeys
-
setUseGeneratedKeys
-
getUseColumnLabel
-
setUseColumnLabel
-
getCacheEnabled
-
setCacheEnabled
-
getCallSettersOnNulls
-
setCallSettersOnNulls
-
getUseActualParamName
-
setUseActualParamName
-
getReturnInstanceForEmptyRow
-
setReturnInstanceForEmptyRow
-
getShrinkWhitespacesInSql
-
setShrinkWhitespacesInSql
-
getNullableOnForEach
-
setNullableOnForEach
-
getArgNameBasedConstructorAutoMapping
-
setArgNameBasedConstructorAutoMapping
-
getLogPrefix
-
setLogPrefix
-
getLogImpl
-
setLogImpl
-
getVfsImpl
-
setVfsImpl
-
getDefaultSqlProviderType
-
setDefaultSqlProviderType
-
getLocalCacheScope
public org.apache.ibatis.session.LocalCacheScope getLocalCacheScope() -
setLocalCacheScope
public void setLocalCacheScope(org.apache.ibatis.session.LocalCacheScope localCacheScope) -
getJdbcTypeForNull
public org.apache.ibatis.type.JdbcType getJdbcTypeForNull() -
setJdbcTypeForNull
public void setJdbcTypeForNull(org.apache.ibatis.type.JdbcType jdbcTypeForNull) -
getLazyLoadTriggerMethods
-
setLazyLoadTriggerMethods
-
getDefaultStatementTimeout
-
setDefaultStatementTimeout
-
getDefaultFetchSize
-
setDefaultFetchSize
-
getDefaultResultSetType
public org.apache.ibatis.mapping.ResultSetType getDefaultResultSetType() -
setDefaultResultSetType
public void setDefaultResultSetType(org.apache.ibatis.mapping.ResultSetType defaultResultSetType) -
getDefaultExecutorType
public org.apache.ibatis.session.ExecutorType getDefaultExecutorType() -
setDefaultExecutorType
public void setDefaultExecutorType(org.apache.ibatis.session.ExecutorType defaultExecutorType) -
getAutoMappingBehavior
public org.apache.ibatis.session.AutoMappingBehavior getAutoMappingBehavior() -
setAutoMappingBehavior
public void setAutoMappingBehavior(org.apache.ibatis.session.AutoMappingBehavior autoMappingBehavior) -
getAutoMappingUnknownColumnBehavior
public org.apache.ibatis.session.AutoMappingUnknownColumnBehavior getAutoMappingUnknownColumnBehavior() -
setAutoMappingUnknownColumnBehavior
public void setAutoMappingUnknownColumnBehavior(org.apache.ibatis.session.AutoMappingUnknownColumnBehavior autoMappingUnknownColumnBehavior) -
getVariables
-
setVariables
-
getLazyLoadingEnabled
-
setLazyLoadingEnabled
-
getConfigurationFactory
-
setConfigurationFactory
-
getDefaultEnumTypeHandler
-
setDefaultEnumTypeHandler
public void setDefaultEnumTypeHandler(Class<? extends org.apache.ibatis.type.TypeHandler> defaultEnumTypeHandler) -
applyTo
public void applyTo(org.apache.ibatis.session.Configuration target)
-