sqlMapConfig.xml
1 <?xml version="1.0" encoding="UTF-8" ?> 2 <!DOCTYPE configuration 3 PUBLIC "-//mybatis.org//DTD Config 3.0//EN" 4 "http://mybatis.org/dtd/mybatis-3-config.dtd"> 5 <configuration> 6 <!-- 配置实体类别名--> 7 <typeAliases> 8 <package name="com.lu.entity"/> 9 </typeAliases> 10 <mappers> 11 <package name="com.lu.dao"/> 12 </mappers> 13 </configuration>