Class MybatisProperties
java.lang.Object
org.mybatis.spring.boot.autoconfigure.MybatisProperties
Configuration properties for MyBatis.
- Author:
- EddĂș MelĂ©ndez, Kazuki Shimizu
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The configuration properties for mybatis core module. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.apache.ibatis.scripting.LanguageDriver>
org.apache.ibatis.session.ExecutorType
String[]
Class<?>
boolean
org.springframework.core.io.Resource[]
void
setCheckConfigLocation
(boolean checkConfigLocation) void
setConfigLocation
(String configLocation) void
setConfiguration
(MybatisProperties.CoreConfiguration configuration) void
setConfigurationProperties
(Properties configurationProperties) void
setDefaultScriptingLanguageDriver
(Class<? extends org.apache.ibatis.scripting.LanguageDriver> defaultScriptingLanguageDriver) void
setExecutorType
(org.apache.ibatis.session.ExecutorType executorType) void
setMapperLocations
(String[] mapperLocations) void
setTypeAliasesPackage
(String typeAliasesPackage) void
setTypeAliasesSuperType
(Class<?> typeAliasesSuperType) void
setTypeHandlersPackage
(String typeHandlersPackage)
-
Field Details
-
MYBATIS_PREFIX
- See Also:
-
-
Constructor Details
-
MybatisProperties
public MybatisProperties()
-
-
Method Details
-
getConfigLocation
- Since:
- 1.1.0
-
setConfigLocation
- Since:
- 1.1.0
-
getMapperLocations
-
setMapperLocations
-
getTypeHandlersPackage
-
setTypeHandlersPackage
-
getTypeAliasesPackage
-
setTypeAliasesPackage
-
getTypeAliasesSuperType
- Since:
- 1.3.3
-
setTypeAliasesSuperType
- Since:
- 1.3.3
-
isCheckConfigLocation
public boolean isCheckConfigLocation() -
setCheckConfigLocation
public void setCheckConfigLocation(boolean checkConfigLocation) -
getExecutorType
public org.apache.ibatis.session.ExecutorType getExecutorType() -
setExecutorType
public void setExecutorType(org.apache.ibatis.session.ExecutorType executorType) -
getDefaultScriptingLanguageDriver
public Class<? extends org.apache.ibatis.scripting.LanguageDriver> getDefaultScriptingLanguageDriver()- Since:
- 2.1.0
-
setDefaultScriptingLanguageDriver
public void setDefaultScriptingLanguageDriver(Class<? extends org.apache.ibatis.scripting.LanguageDriver> defaultScriptingLanguageDriver) - Since:
- 2.1.0
-
getConfigurationProperties
- Since:
- 1.2.0
-
setConfigurationProperties
- Since:
- 1.2.0
-
getConfiguration
-
setConfiguration
-
resolveMapperLocations
public org.springframework.core.io.Resource[] resolveMapperLocations()
-