<?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="mapUnderscoreToCamelCase" value="true"></setting>
		<setting name="jdbcTypeForNull" value="NULL"/>
	</settings>
	<plugins>
		<plugin interceptor="weaver.conn.mybatis.MyBatisCachePlugin"></plugin>
		<plugin interceptor="com.github.pagehelper.PageInterceptor"></plugin>
	</plugins>
	<environments default="development">
		<environment id="development">
			<transactionManager type="JDBC"/>
			<dataSource type="weaver.conn.mybatis.MyBatisDataSourceFactory">
			</dataSource>
		</environment>
	</environments>
	<databaseIdProvider type="weaver.conn.mybatis.DatabaseIdProvider">
	</databaseIdProvider>
	<mappers>
		<!--mapper resource="MyBatis/mapper/WorkflowBaseMapper.xml"/-->
		<!--package name="*.mapper"></package 不可行，Mybatis不支持通配符，这是spring的ant匹配模式提供的-->
		<package name="weaver.conn.mybatis.mapper"></package><!-- 示例Mapper -->

		<!-- 项目Mapper -->
		<package name="com.weaver.mapper"></package>
		<package name="weaver.general.mapper"></package>
		<package name="weaver.hrm.mapper"></package>
		<package name="weaver.workflow.mapper"></package>
		<package name="weaver.interfaces.mapper"></package>
		<package name="weaver.portal.mapper"></package>
		<package name="com.api.formmode.mybatis.mapper"></package>
		<package name="com.cloudstore.dev.api.mapper"></package>
		<package name="com.engine.integration.mapper"></package>
		<package name="com.engine.salary.mapper"></package>
		<package name="com.engine.organization.mapper"></package>
		<!-- 需要把现在的配置文件都调整到WEB-INF/config/mapper目录下 -->
		<!-- 在WEB-INF/config/mapper目录下配置的xml文件也不必加入这里的package -->
	</mappers>
</configuration>