You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<?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>
|
|
|
|
|
<!-- 允许JDBC 生成主键。需要驱动器支持。如果设为了true,这个设置将强制使用被生成的主键,有一些驱动器不兼容不过仍然可以执行。 default:false -->
|
|
|
|
|
<setting name="useGeneratedKeys" value="true"/>
|
|
|
|
|
<!-- 是否可以使用列的别名 (取决于驱动的兼容性) default:true -->
|
|
|
|
|
<setting name="useColumnLabel" value="true"/>
|
|
|
|
|
<!-- 使用驼峰命名法转换字段。 -->
|
|
|
|
|
<setting name="mapUnderscoreToCamelCase" value="true"/>
|
|
|
|
|
</settings>
|
|
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- com.github.pagehelper为PageHelper类所在包名 -->
|
|
|
|
|
<plugin interceptor="com.github.pagehelper.PageInterceptor">
|
|
|
|
|
<!-- 使用下面的方式配置参数,后面会有所有的参数介绍 -->
|
|
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</configuration>
|