<?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="logImpl" value="STDOUT_LOGGING" />
</settings>
<!-- name: Shi Ji Hui 儘可能使用對象名 (好記) 配置映射類的別名 引入實體類便可-->
<typeAliases>
<typeAlias alias="Dept" type="org.entity.Dept"/>
</typeAliases>
<!-- 配置Mapper文件的路徑 -->
<mappers>
<mapper resource="org/dao/DeptDaoMapper.xml"/>
</mappers>
</configuration>