Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

enable mybatis xml configuration

boolean

false

xml configuration file

string

mybatis-config.xml

MyBatis environment id

string

quarkus

MyBatis transaction factory

string

MANAGED

MyBatis data source

string

MyBatis initial sql

string

MyBatis cacheEnabled

boolean

true

MyBatis lazyLoadingEnabled

boolean

false

MyBatis aggressiveLazyLoading

boolean

false

MyBatis useColumnLabel

boolean

true

MyBatis useGeneratedKeys

boolean

false

MyBatis autoMappingBehavior

none, partial, full

partial

MyBatis autoMappingUnknownColumnBehavior

none, warning, failing

none

MyBatis defaultExecutorType

simple, reuse, batch

simple

MyBatis defaultStatementTimeout

int

MyBatis defaultFetchSize

int

MyBatis defaultResultSetType

default, forward-only, scroll-insensitive, scroll-sensitive

MyBatis safeRowBoundsEnabled

boolean

false

MyBatis safeResultHandlerEnabled

boolean

true

MyBatis mapUnderscoreToCamelCase

boolean

false

MyBatis multipleResultSetsEnabled

boolean

true

MyBatis localCacheScope

session, statement

session

MyBatis jdbcTypeForNull

array, bit, tinyint, smallint, integer, bigint, float, real, double, numeric, decimal, char, varchar, longvarchar, date, time, timestamp, binary, varbinary, longvarbinary, null, other, blob, clob, boolean, cursor, undefined, nvarchar, nchar, nclob, struct, java-object, distinct, ref, datalink, rowid, longnvarchar, sqlxml, datetimeoffset, time-with-timezone, timestamp-with-timezone

other

MyBatis lazyLoadTriggerMethods

list of string

equals,clone,hashCode,toString

MyBatis defaultScriptingLanguage

string

org.apache.ibatis.scripting.xmltags.XMLLanguageDriver

MyBatis defaultEnumTypeHandler

string

org.apache.ibatis.type.EnumTypeHandler

MyBatis callSettersOnNulls

boolean

false

MyBatis returnInstanceForEmptyRow

boolean

false

MyBatis logPrefix

string

MyBatis logImpl

string

MyBatis proxyFactory

string

JAVASSIST

MyBatis vfsImpl

string

MyBatis useActualParamName

boolean

true

MyBatis configurationFactory

string

MyBatis shrinkWhitespacesInSql

boolean

false

MyBatis defaultSqlProviderType

string

MyBatis mapperLocations

list of string

Data sources config

Type

Default

string

string

string

boolean

boolean

boolean

boolean

boolean

none, partial, full

none, warning, failing

simple, reuse, batch

int

int

default, forward-only, scroll-insensitive, scroll-sensitive

boolean

boolean

boolean

boolean

session, statement

array, bit, tinyint, smallint, integer, bigint, float, real, double, numeric, decimal, char, varchar, longvarchar, date, time, timestamp, binary, varbinary, longvarbinary, null, other, blob, clob, boolean, cursor, undefined, nvarchar, nchar, nclob, struct, java-object, distinct, ref, datalink, rowid, longnvarchar, sqlxml, datetimeoffset, time-with-timezone, timestamp-with-timezone

list of string

string

string

boolean

boolean

string

string

string

string

boolean

string

boolean

string