<?xml version= "1.0" encoding= "UTF-8" standalone= "no"?>
<! DOCTYPE configuration Public "-//mybatis.org//dtd Config 3.0//en" "Http://mybatis.org/dtd/mybatis-3-config.dtd" >
<configuration>
<mappers>
<!--The package element will register all mapper interfaces below the specified packet-
< Package name= "Com.tiantian.mybatis.mapperinterface"/>
<!-- The resource property of the Mapper element allows you to specify a mapper.xml file that is relative to the classpath and
<mapper resource= "com/tiantian/mybatis/mapper/ Usermapper.xml "/>
<!--The URL property of the mapper element allows you to specify a mapper.xml file through a URL request--
<mapper url=" File:///E :/usermapper.xml "/>
<!--through the class attribute of the mapper element you can specify a mapper interface to register--
<mapper class=" Com.tiantian.mybatis.mapperinterface.UserMapper "/>
</mappers>
</configuration>