Class MybatisProperties

java.lang.Object
org.mybatis.spring.boot.autoconfigure.MybatisProperties

@ConfigurationProperties(prefix="mybatis") public class MybatisProperties extends Object
Configuration properties for MyBatis.
Author:
EddĂș MelĂ©ndez, Kazuki Shimizu
  • Field Details

  • Constructor Details

    • MybatisProperties

      public MybatisProperties()
  • Method Details

    • getConfigLocation

      public String getConfigLocation()
      Since:
      1.1.0
    • setConfigLocation

      public void setConfigLocation(String configLocation)
      Since:
      1.1.0
    • getMapperLocations

      public String[] getMapperLocations()
    • setMapperLocations

      public void setMapperLocations(String[] mapperLocations)
    • getTypeHandlersPackage

      public String getTypeHandlersPackage()
    • setTypeHandlersPackage

      public void setTypeHandlersPackage(String typeHandlersPackage)
    • getTypeAliasesPackage

      public String getTypeAliasesPackage()
    • setTypeAliasesPackage

      public void setTypeAliasesPackage(String typeAliasesPackage)
    • getTypeAliasesSuperType

      public Class<?> getTypeAliasesSuperType()
      Since:
      1.3.3
    • setTypeAliasesSuperType

      public void setTypeAliasesSuperType(Class<?> typeAliasesSuperType)
      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

      public Properties getConfigurationProperties()
      Since:
      1.2.0
    • setConfigurationProperties

      public void setConfigurationProperties(Properties configurationProperties)
      Since:
      1.2.0
    • getConfiguration

      public MybatisProperties.CoreConfiguration getConfiguration()
    • setConfiguration

      public void setConfiguration(MybatisProperties.CoreConfiguration configuration)
    • resolveMapperLocations

      public org.springframework.core.io.Resource[] resolveMapperLocations()