<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
	<settings>
		<setting name="cacheEnabled" value="true" />
		<setting name="lazyLoadingEnabled" value="true" />
		<setting name="aggressiveLazyLoading" value="true" />
		<setting name="multipleResultSetsEnabled" value="true" />
		<setting name="useColumnLabel" value="true" />
		<setting name="useGeneratedKeys" value="false" />
		<setting name="autoMappingBehavior" value="PARTIAL" />
		<setting name="defaultExecutorType" value="SIMPLE" />
		<setting name="mapUnderscoreToCamelCase" value="true" />
		<setting name="localCacheScope" value="SESSION" />
		<setting name="jdbcTypeForNull" value="NULL" />
	</settings>
	<typeHandlers>
		<typeHandler handler="com.horizon.apache.ibatis.type.StringTypeHandler" javaType="java.lang.String" jdbcType="LONGVARCHAR" />
	</typeHandlers>
	<plugins>
		<plugin interceptor="com.horizon.core.common.pagehelper.PageHelper">
		    <property name="autoRuntimeDialect" value="true" />
            <property name="closeConn" value="true" />
			<property name="pageSizeZero" value="true" />
			<property name="supportMethodsArguments" value="false" />
			<property name="returnPageInfo" value="none" />
		</plugin>
	</plugins>
</configuration>
