io.quarkiverse.mybatis.runtime.config.MyBatisDataSourceRuntimeConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-mybatis Show documentation
Show all versions of quarkus-mybatis Show documentation
MyBatis SQL mapper framework for Java
The newest version!
package io.quarkiverse.mybatis.runtime.config;
import java.util.Optional;
import java.util.Set;
import org.apache.ibatis.mapping.ResultSetType;
import org.apache.ibatis.session.AutoMappingBehavior;
import org.apache.ibatis.session.AutoMappingUnknownColumnBehavior;
import org.apache.ibatis.session.ExecutorType;
import org.apache.ibatis.session.LocalCacheScope;
import org.apache.ibatis.type.JdbcType;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
@ConfigGroup
public class MyBatisDataSourceRuntimeConfig {
/**
* MyBatis environment id
*/
@ConfigItem
public Optional environment;
/**
* MyBatis transaction factory
*/
@ConfigItem
public Optional transactionFactory;
/**
* MyBatis databaseId
*/
@ConfigItem
public Optional databaseId;
/**
* MyBatis initial sql
*/
@ConfigItem(name = "initial-sql")
public Optional initialSql;
/**
* MyBatis cacheEnabled
*/
@ConfigItem
public Optional cacheEnabled;
/**
* MyBatis lazyLoadingEnabled
*/
@ConfigItem
public Optional lazyLoadingEnabled;
/**
* MyBatis aggressiveLazyLoading
*/
@ConfigItem
public Optional aggressiveLazyLoading;
/**
* MyBatis useColumnLabel
*/
@ConfigItem
public Optional useColumnLabel;
/**
* MyBatis useGeneratedKeys
*/
@ConfigItem
public Optional useGeneratedKeys;
/**
* MyBatis autoMappingBehavior
*/
@ConfigItem
public Optional autoMappingBehavior;
/**
* MyBatis autoMappingUnknownColumnBehavior
*/
@ConfigItem
public Optional autoMappingUnknownColumnBehavior;
/**
* MyBatis defaultExecutorType
*/
@ConfigItem
public Optional defaultExecutorType;
/**
* MyBatis defaultStatementTimeout
*/
@ConfigItem
public Optional defaultStatementTimeout;
/**
* MyBatis defaultFetchSize
*/
@ConfigItem
public Optional defaultFetchSize;
/**
* MyBatis defaultResultSetType
*/
@ConfigItem
public Optional defaultResultSetType;
/**
* MyBatis safeRowBoundsEnabled
*/
@ConfigItem
public Optional safeRowBoundsEnabled;
/**
* MyBatis safeResultHandlerEnabled
*/
@ConfigItem
public Optional safeResultHandlerEnabled;
/**
* MyBatis mapUnderscoreToCamelCase
*/
@ConfigItem
public Optional mapUnderscoreToCamelCase;
/**
* MyBatis multipleResultSetsEnabled
*/
@ConfigItem
public Optional multipleResultSetsEnabled;
/**
* MyBatis localCacheScope
*/
@ConfigItem
public Optional localCacheScope;
/**
* MyBatis jdbcTypeForNull
*/
@ConfigItem
public Optional jdbcTypeForNull;
/**
* MyBatis lazyLoadTriggerMethods
*/
@ConfigItem
public Optional> lazyLoadTriggerMethods;
/**
* MyBatis defaultScriptingLanguage
*/
@ConfigItem
public Optional defaultScriptingLanguage;
/**
* MyBatis defaultEnumTypeHandler
*/
@ConfigItem
public Optional defaultEnumTypeHandler;
/**
* MyBatis callSettersOnNulls
*/
@ConfigItem
public Optional callSettersOnNulls;
/**
* MyBatis returnInstanceForEmptyRow
*/
@ConfigItem
public Optional returnInstanceForEmptyRow;
/**
* MyBatis logPrefix
*/
@ConfigItem
public Optional logPrefix;
/**
* MyBatis logImpl
*/
@ConfigItem
public Optional logImpl;
/**
* MyBatis proxyFactory
*/
@ConfigItem
public Optional proxyFactory;
/**
* MyBatis vfsImpl
*/
@ConfigItem
public Optional vfsImpl;
/**
* MyBatis useActualParamName
*/
@ConfigItem
public Optional useActualParamName;
/**
* MyBatis configurationFactory
*/
@ConfigItem
public Optional configurationFactory;
/**
* MyBatis shrinkWhitespacesInSql
*/
@ConfigItem
public Optional shrinkWhitespacesInSql;
/**
* MyBatis defaultSqlProviderType
*/
@ConfigItem
public Optional defaultSqlProviderType;
}