Interface MyBatisRuntimeConfig


@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) @ConfigMapping(prefix="quarkus.mybatis") public interface MyBatisRuntimeConfig
  • Method Details

    • dataSources

      @ConfigDocSection @ConfigDocMapKey("data-source-name") @WithParentName Map<String,MyBatisDataSourceRuntimeConfig> dataSources()
      Data sources config
    • xmlconfig

      Support XML Configuration
    • environment

      @WithDefault("quarkus") String environment()
      MyBatis environment id
    • transactionFactory

      @WithDefault("MANAGED") String transactionFactory()
      MyBatis transaction factory
    • dataSource

      @WithName("datasource") Optional<String> dataSource()
      MyBatis data source
    • databaseId

      Optional<String> databaseId()
      MyBatis DatabaseId
    • initialSql

      @WithName("initial-sql") Optional<String> initialSql()
      MyBatis initial sql
    • cacheEnabled

      @WithDefault("true") boolean cacheEnabled()
      MyBatis cacheEnabled
    • lazyLoadingEnabled

      @WithDefault("false") boolean lazyLoadingEnabled()
      MyBatis lazyLoadingEnabled
    • aggressiveLazyLoading

      @WithDefault("false") boolean aggressiveLazyLoading()
      MyBatis aggressiveLazyLoading
    • useColumnLabel

      @WithDefault("true") boolean useColumnLabel()
      MyBatis useColumnLabel
    • useGeneratedKeys

      @WithDefault("false") boolean useGeneratedKeys()
      MyBatis useGeneratedKeys
    • autoMappingBehavior

      @WithDefault("PARTIAL") org.apache.ibatis.session.AutoMappingBehavior autoMappingBehavior()
      MyBatis autoMappingBehavior
    • autoMappingUnknownColumnBehavior

      @WithDefault("NONE") org.apache.ibatis.session.AutoMappingUnknownColumnBehavior autoMappingUnknownColumnBehavior()
      MyBatis autoMappingUnknownColumnBehavior
    • defaultExecutorType

      @WithDefault("SIMPLE") org.apache.ibatis.session.ExecutorType defaultExecutorType()
      MyBatis defaultExecutorType
    • defaultStatementTimeout

      Optional<Integer> defaultStatementTimeout()
      MyBatis defaultStatementTimeout
    • defaultFetchSize

      Optional<Integer> defaultFetchSize()
      MyBatis defaultFetchSize
    • defaultResultSetType

      Optional<org.apache.ibatis.mapping.ResultSetType> defaultResultSetType()
      MyBatis defaultResultSetType
    • safeRowBoundsEnabled

      @WithDefault("false") boolean safeRowBoundsEnabled()
      MyBatis safeRowBoundsEnabled
    • safeResultHandlerEnabled

      @WithDefault("true") boolean safeResultHandlerEnabled()
      MyBatis safeResultHandlerEnabled
    • mapUnderscoreToCamelCase

      @WithDefault("false") boolean mapUnderscoreToCamelCase()
      MyBatis mapUnderscoreToCamelCase
    • multipleResultSetsEnabled

      @WithDefault("true") boolean multipleResultSetsEnabled()
      MyBatis multipleResultSetsEnabled
    • localCacheScope

      @WithDefault("SESSION") org.apache.ibatis.session.LocalCacheScope localCacheScope()
      MyBatis localCacheScope
    • jdbcTypeForNull

      @WithDefault("OTHER") org.apache.ibatis.type.JdbcType jdbcTypeForNull()
      MyBatis jdbcTypeForNull
    • lazyLoadTriggerMethods

      @WithDefault("equals,clone,hashCode,toString") Set<String> lazyLoadTriggerMethods()
      MyBatis lazyLoadTriggerMethods
    • defaultScriptingLanguage

      @WithDefault("org.apache.ibatis.scripting.xmltags.XMLLanguageDriver") String defaultScriptingLanguage()
      MyBatis defaultScriptingLanguage
    • defaultEnumTypeHandler

      @WithDefault("org.apache.ibatis.type.EnumTypeHandler") String defaultEnumTypeHandler()
      MyBatis defaultEnumTypeHandler
    • callSettersOnNulls

      @WithDefault("false") boolean callSettersOnNulls()
      MyBatis callSettersOnNulls
    • returnInstanceForEmptyRow

      @WithDefault("false") boolean returnInstanceForEmptyRow()
      MyBatis returnInstanceForEmptyRow
    • logPrefix

      Optional<String> logPrefix()
      MyBatis logPrefix
    • logImpl

      Optional<String> logImpl()
      MyBatis logImpl
    • proxyFactory

      @WithDefault("JAVASSIST") String proxyFactory()
      MyBatis proxyFactory
    • vfsImpl

      Optional<String> vfsImpl()
      MyBatis vfsImpl
    • useActualParamName

      @WithDefault("true") boolean useActualParamName()
      MyBatis useActualParamName
    • configurationFactory

      Optional<String> configurationFactory()
      MyBatis configurationFactory
    • shrinkWhitespacesInSql

      @WithDefault("false") boolean shrinkWhitespacesInSql()
      MyBatis shrinkWhitespacesInSql
    • defaultSqlProviderType

      Optional<String> defaultSqlProviderType()
      MyBatis defaultSqlProviderType
    • mapperLocations

      Optional<List<String>> mapperLocations()
      MyBatis mapperLocations