mybatis分页插件
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 abel533@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.github.pagehelper;
import org.apache.ibatis.executor.Executor;
import org.apache.ibatis.mapping.MappedStatement;
import org.apache.ibatis.plugin.*;
import org.apache.ibatis.session.ResultHandler;
import org.apache.ibatis.session.RowBounds;
import javax.sql.DataSource;
import java.lang.reflect.Method;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.locks.ReentrantLock;
/**
* Mybatis - 通用分页拦截器
*
* @author liuzh/abel533/isea533
* @version 3.3.0
* 项目地址 : http://git.oschina.net/free/Mybatis_PageHelper
*/
@SuppressWarnings("rawtypes")
@Intercepts(@Signature(type = Executor.class, method = "query", args = {MappedStatement.class, Object.class, RowBounds.class, ResultHandler.class}))
public class PageHelper implements Interceptor {
//sql工具类
private SqlUtil sqlUtil;
//属性参数信息
private Properties properties;
//配置对象方式
private SqlUtilConfig sqlUtilConfig;
//自动获取dialect,如果没有setProperties或setSqlUtilConfig,也可以正常进行
private boolean autoDialect = true;
//运行时自动获取dialect
private boolean autoRuntimeDialect;
//缓存
private Map<String, SqlUtil> urlSqlUtilMap = new ConcurrentHashMap<String, SqlUtil>();
/**
* 获取任意查询方法的count总数
*
* @param select
* @return
*/
public static long count(ISelect select) {
Page<?> page = startPage(1, -1, true);
select.doSelect();
return page.getTotal();
}
/**
* 开始分页
*
* @param pageNum 页码
* @param pageSize 每页显示数量
*/
public static <E> Page<E> startPage(int pageNum, int pageSize) {
return startPage(pageNum, pageSize, true);
}
/**
* 开始分页
*
* @param pageNum 页码
* @param pageSize 每页显示数量
* @param count 是否进行count查询
*/
public static <E> Page<E> startPage(int pageNum, int pageSize, boolean count) {
return startPage(pageNum, pageSize, count, null);
}
/**
* 开始分页
*
* @param pageNum 页码
* @param pageSize 每页显示数量
* @param orderBy 排序
*/
public static <E> Page<E> startPage(int pageNum, int pageSize, String orderBy) {
Page<E> page = startPage(pageNum, pageSize);
page.setOrderBy(orderBy);
return page;
}
/**
* 开始分页
*
* @param offset 页码
* @param limit 每页显示数量
*/
public static <E> Page<E> offsetPage(int offset, int limit) {
return offsetPage(offset, limit, true);
}
/**
* 开始分页
*
* @param offset 页码
* @param limit 每页显示数量
* @param count 是否进行count查询
*/
public static <E> Page<E> offsetPage(int offset, int limit, boolean count) {
Page<E> page = new Page<E>(new int[]{offset, limit}, count);
//当已经执行过orderBy的时候
Page<E> oldPage = SqlUtil.getLocalPage();
if (oldPage != null && oldPage.isOrderByOnly()) {
page.setOrderBy(oldPage.getOrderBy());
}
SqlUtil.setLocalPage(page);
return page;
}
/**
* 开始分页
*
* @param offset 页码
* @param limit 每页显示数量
* @param orderBy 排序
*/
public static <E> Page<E> offsetPage(int offset, int limit, String orderBy) {
Page<E> page = offsetPage(offset, limit);
page.setOrderBy(orderBy);
return page;
}
/**
* 开始分页
*
* @param pageNum 页码
* @param pageSize 每页显示数量
* @param count 是否进行count查询
* @param reasonable 分页合理化,null时用默认配置
*/
public static <E> Page<E> startPage(int pageNum, int pageSize, boolean count, Boolean reasonable) {
return startPage(pageNum, pageSize, count, reasonable, null);
}
/**
* 开始分页
*
* @param pageNum 页码
* @param pageSize 每页显示数量
* @param count 是否进行count查询
* @param reasonable 分页合理化,null时用默认配置
* @param pageSizeZero true且pageSize=0时返回全部结果,false时分页,null时用默认配置
*/
public static <E> Page<E> startPage(int pageNum, int pageSize, boolean count, Boolean reasonable, Boolean pageSizeZero) {
Page<E> page = new Page<E>(pageNum, pageSize, count);
page.setReasonable(reasonable);
page.setPageSizeZero(pageSizeZero);
//当已经执行过orderBy的时候
Page<E> oldPage = SqlUtil.getLocalPage();
if (oldPage != null && oldPage.isOrderByOnly()) {
page.setOrderBy(oldPage.getOrderBy());
}
SqlUtil.setLocalPage(page);
return page;
}
/**
* 开始分页
*
* @param params
*/
public static <E> Page<E> startPage(Object params) {
Page<E> page = SqlUtil.getPageFromObject(params);
//当已经执行过orderBy的时候
Page<E> oldPage = SqlUtil.getLocalPage();
if (oldPage != null && oldPage.isOrderByOnly()) {
page.setOrderBy(oldPage.getOrderBy());
}
SqlUtil.setLocalPage(page);
return page;
}
/**
* 排序
*
* @param orderBy
*/
public static void orderBy(String orderBy) {
Page<?> page = SqlUtil.getLocalPage();
if (page != null) {
page.setOrderBy(orderBy);
} else {
page = new Page();
page.setOrderBy(orderBy);
page.setOrderByOnly(true);
SqlUtil.setLocalPage(page);
}
}
/**
* 获取orderBy
*
* @return
*/
public static String getOrderBy() {
Page<?> page = SqlUtil.getLocalPage();
if (page != null) {
String orderBy = page.getOrderBy();
if (StringUtil.isEmpty(orderBy)) {
return null;
} else {
return orderBy;
}
}
return null;
}
/**
* Mybatis拦截器方法
*
* @param invocation 拦截器入参
* @return 返回执行结果
* @throws Throwable 抛出异常
*/
public Object intercept(Invocation invocation) throws Throwable {
if (autoRuntimeDialect) {
SqlUtil sqlUtil = getSqlUtil(invocation);
return sqlUtil.processPage(invocation);
} else {
if (autoDialect) {
initSqlUtil(invocation);
}
return sqlUtil.processPage(invocation);
}
}
/**
* 初始化sqlUtil
*
* @param invocation
*/
public synchronized void initSqlUtil(Invocation invocation) {
if (this.sqlUtil == null) {
this.sqlUtil = getSqlUtil(invocation);
if (!autoRuntimeDialect) {
properties = null;
sqlUtilConfig = null;
}
autoDialect = false;
}
}
/**
* 获取url
*
* @param dataSource
* @return
*/
public String getUrl(DataSource dataSource){
Connection conn = null;
try {
conn = dataSource.getConnection();
return conn.getMetaData().getURL();
} catch (SQLException e) {
throw new RuntimeException(e);
} finally {
if(conn != null){
try {
conn.close();
} catch (SQLException e) {
//ignore
}
}
}
}
/**
* 根据daatsource创建对应的sqlUtil
*
* @param invocation
*/
public SqlUtil getSqlUtil(Invocation invocation) {
MappedStatement ms = (MappedStatement) invocation.getArgs()[0];
//改为对dataSource做缓存
DataSource dataSource = ms.getConfiguration().getEnvironment().getDataSource();
String url = getUrl(dataSource);
if (urlSqlUtilMap.containsKey(url)) {
return urlSqlUtilMap.get(url);
}
ReentrantLock lock = new ReentrantLock();
try {
lock.lock();
if (urlSqlUtilMap.containsKey(url)) {
return urlSqlUtilMap.get(url);
}
if (StringUtil.isEmpty(url)) {
throw new RuntimeException("无法自动获取jdbcUrl,请在分页插件中配置dialect参数!");
}
String dialect = Dialect.fromJdbcUrl(url);
if (dialect == null) {
throw new RuntimeException("无法自动获取数据库类型,请通过dialect参数指定!");
}
SqlUtil sqlUtil = new SqlUtil(dialect);
if (this.properties != null) {
sqlUtil.setProperties(properties);
} else if (this.sqlUtilConfig != null) {
sqlUtil.setSqlUtilConfig(this.sqlUtilConfig);
}
urlSqlUtilMap.put(url, sqlUtil);
return sqlUtil;
} finally {
lock.unlock();
}
}
/**
* 只拦截Executor
*
* @param target
* @return
*/
public Object plugin(Object target) {
if (target instanceof Executor) {
return Plugin.wrap(target, this);
} else {
return target;
}
}
private void checkVersion() {
//MyBatis3.2.0版本校验
try {
Class.forName("org.apache.ibatis.scripting.xmltags.SqlNode");//SqlNode是3.2.0之后新增的类
} catch (ClassNotFoundException e) {
throw new RuntimeException("您使用的MyBatis版本太低,MyBatis分页插件PageHelper支持MyBatis3.2.0及以上版本!");
}
}
/**
* 设置属性值
*
* @param p 属性值
*/
public void setProperties(Properties p) {
checkVersion();
//数据库方言
String dialect = p.getProperty("dialect");
String runtimeDialect = p.getProperty("autoRuntimeDialect");
if (StringUtil.isNotEmpty(runtimeDialect) && runtimeDialect.equalsIgnoreCase("TRUE")) {
this.autoRuntimeDialect = true;
this.autoDialect = false;
this.properties = p;
} else if (StringUtil.isEmpty(dialect)) {
autoDialect = true;
this.properties = p;
} else {
autoDialect = false;
sqlUtil = new SqlUtil(dialect);
sqlUtil.setProperties(p);
}
}
/**
* 设置属性值
*
* @param config
*/
public void setSqlUtilConfig(SqlUtilConfig config) {
checkVersion();
if (config.isAutoRuntimeDialect()) {
this.autoRuntimeDialect = true;
this.autoDialect = false;
this.sqlUtilConfig = config;
} else if (StringUtil.isEmpty(config.getDialect())) {
autoDialect = true;
this.sqlUtilConfig = config;
} else {
autoDialect = false;
sqlUtil = new SqlUtil(config.getDialect());
sqlUtil.setSqlUtilConfig(config);
}
}
}
资源文件列表
Mybatis-PageHelper-master/.gitignore , 84
Mybatis-PageHelper-master/LICENSE , 1083
Mybatis-PageHelper-master/README.md , 5394
Mybatis-PageHelper-master/pom.xml , 8212
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/Constant.java , 1698
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/Dialect.java , 2491
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/ISelect.java , 1460
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/MSUtils.java , 3232
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/Page.java , 9476
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/PageHelper.java , 12517
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/PageInfo.java , 10866
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/SqlUtil.java , 21262
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/SqlUtilConfig.java , 3532
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/StringUtil.java , 1505
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/OrderByParser.java , 2364
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/Parser.java , 2569
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/SqlParser.java , 9548
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/SqlServer.java , 14064
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/AbstractParser.java , 6751
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/Db2Parser.java , 2206
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/H2Parser.java , 2074
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/HsqldbParser.java , 2078
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/InformixParser.java , 2925
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/MysqlParser.java , 2070
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/OracleParser.java , 2195
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/PostgreSQLParser.java , 2082
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/SqlServer2012Dialect.java , 1105
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/parser/impl/SqlServerParser.java , 2492
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/sqlsource/OrderByStaticSqlSource.java , 1639
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/sqlsource/PageDynamicSqlSource.java , 5837
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/sqlsource/PageProviderSqlSource.java , 5075
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/sqlsource/PageRawSqlSource.java , 1131
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/sqlsource/PageSqlSource.java , 1667
Mybatis-PageHelper-master/src/main/java/com/github/pagehelper/sqlsource/PageStaticSqlSource.java , 2303
Mybatis-PageHelper-master/src/test/java/Ognl.java , 1282
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/mapper/CountryMapper.java , 4387
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/mapper/CountryMapper.xml , 11627
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/mapper/ProviderMethod.java , 2434
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/model/Country.java , 1964
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/model/CountryExample.java , 13130
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/model/CountryQueryModel.java , 669
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/sql/FunctionCountTest.java , 3410
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/sql/SqlServerTest.java , 6569
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/sql/SqlTest.java , 5881
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/ArgumentsMapTest.java , 2632
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/ArgumentsObjTest.java , 3162
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/OffsetTest.java , 3677
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/PageHelperTest.java , 9732
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/PageInfoTest.java , 10239
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/RemoveOrderTest.java , 2698
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/TestDistinct.java , 2121
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/TestISelect.java , 3598
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/TestIntMax.java , 2647
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/TestLike.java , 2721
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/TestNamespaceMap.java , 2701
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/annotations/TestAnnotations.java , 2664
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/cache/CacheTest.java , 5015
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/cache/SecondCacheTest.java , 3644
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/count/TestGroupBy.java , 2664
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/count/TestSelectItems.java , 4060
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/CacheTest.java , 3701
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/TestDynamicChoose.java , 2650
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/TestDynamicIf.java , 4559
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/TestDynamicIf2.java , 2644
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/TestDynamicIfOrder.java , 3199
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/TestDynamicIfTwoList.java , 3109
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/TestDynamicWhere.java , 2529
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/dynamic/Where.java , 1552
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/example/TestExample.java , 3523
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/parameter/TestParameterArray.java , 2361
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/parameter/TestParameterList.java , 2489
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/parameter/TestParameterMap.java , 2526
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/parameter/TestParameterNone.java , 2329
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/parameter/TestParameterOne.java , 2338
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/provider/TestProvider.java , 3269
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/sql/TestExists.java , 2544
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/sql/TestLeftjoin.java , 2555
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/sql/TestUnion.java , 2537
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/basic/sql/TestWith.java , 2758
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/namespace/BasicTest.java , 4198
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/pagesize/PageSizeLessThenOrEqualZeroTest.java , 3719
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/pagesize/PageSizeZeroTest.java , 3686
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/reasonable/PageTest.java , 2928
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/test/rowbounds/RowBoundsTest.java , 9598
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/util/MybatisHelper.java , 3052
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/util/MybatisPageSizeZeroHelper.java , 3077
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/util/MybatisReasonableHelper.java , 3073
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/util/MybatisRowBoundsHelper.java , 3071
Mybatis-PageHelper-master/src/test/java/com/github/pagehelper/util/TestUtil.java , 1897
Mybatis-PageHelper-master/src/test/resources/db2/mybatis-config-pagesizezero.xml , 2759
Mybatis-PageHelper-master/src/test/resources/db2/mybatis-config-reasonable.xml , 2634
Mybatis-PageHelper-master/src/test/resources/db2/mybatis-config-rowbounds.xml , 2702
Mybatis-PageHelper-master/src/test/resources/db2/mybatis-config.xml , 2720
Mybatis-PageHelper-master/src/test/resources/h2/h2.sql , 14690
Mybatis-PageHelper-master/src/test/resources/h2/mybatis-config-pagesizezero.xml , 2677
Mybatis-PageHelper-master/src/test/resources/h2/mybatis-config-reasonable.xml , 2550
Mybatis-PageHelper-master/src/test/resources/h2/mybatis-config-rowbounds.xml , 2567
Mybatis-PageHelper-master/src/test/resources/h2/mybatis-config.xml , 2584
Mybatis-PageHelper-master/src/test/resources/hsqldb/hsqldb.sql , 14690
Mybatis-PageHelper-master/src/test/resources/hsqldb/mybatis-config-pagesizezero.xml , 2695
Mybatis-PageHelper-master/src/test/resources/hsqldb/mybatis-config-reasonable.xml , 2568
Mybatis-PageHelper-master/src/test/resources/hsqldb/mybatis-config-rowbounds.xml , 2635
Mybatis-PageHelper-master/src/test/resources/hsqldb/mybatis-config.xml , 3142
Mybatis-PageHelper-master/src/test/resources/log4j.properties , 1584
Mybatis-PageHelper-master/src/test/resources/mariadb/mariadb.sql , 15169
Mybatis-PageHelper-master/src/test/resources/mariadb/mybatis-config-pagesizezero.xml , 2779
Mybatis-PageHelper-master/src/test/resources/mariadb/mybatis-config-reasonable.xml , 2654
Mybatis-PageHelper-master/src/test/resources/mariadb/mybatis-config-rowbounds.xml , 2722
Mybatis-PageHelper-master/src/test/resources/mariadb/mybatis-config.xml , 2687
Mybatis-PageHelper-master/src/test/resources/mysql/mybatis-config-pagesizezero.xml , 2775
Mybatis-PageHelper-master/src/test/resources/mysql/mybatis-config-reasonable.xml , 2650
Mybatis-PageHelper-master/src/test/resources/mysql/mybatis-config-rowbounds.xml , 2718
Mybatis-PageHelper-master/src/test/resources/mysql/mybatis-config.xml , 2683
Mybatis-PageHelper-master/src/test/resources/mysql/mysql.sql , 15169
Mybatis-PageHelper-master/src/test/resources/oracle/mybatis-config-pagesizezero.xml , 2778
Mybatis-PageHelper-master/src/test/resources/oracle/mybatis-config-reasonable.xml , 2653
Mybatis-PageHelper-master/src/test/resources/oracle/mybatis-config-rowbounds.xml , 2721
Mybatis-PageHelper-master/src/test/resources/oracle/mybatis-config.xml , 2802
Mybatis-PageHelper-master/src/test/resources/oracle/oracle.sql , 15314
Mybatis-PageHelper-master/src/test/resources/orderby/hsqldb.sql , 15800
Mybatis-PageHelper-master/src/test/resources/orderby/mybatis-config.xml , 2420
Mybatis-PageHelper-master/src/test/resources/postgresql/mybatis-config-pagesizezero.xml , 2785
Mybatis-PageHelper-master/src/test/resources/postgresql/mybatis-config-reasonable.xml , 2660
Mybatis-PageHelper-master/src/test/resources/postgresql/mybatis-config-rowbounds.xml , 2728
Mybatis-PageHelper-master/src/test/resources/postgresql/mybatis-config.xml , 2688
Mybatis-PageHelper-master/src/test/resources/postgresql/postgresql.sql , 14898
Mybatis-PageHelper-master/src/test/resources/sqlserver/mybatis-config-pagesizezero.xml , 2779
Mybatis-PageHelper-master/src/test/resources/sqlserver/mybatis-config-reasonable.xml , 2654
Mybatis-PageHelper-master/src/test/resources/sqlserver/mybatis-config-rowbounds.xml , 2722
Mybatis-PageHelper-master/src/test/resources/sqlserver/mybatis-config.xml , 2683
Mybatis-PageHelper-master/src/test/resources/test.properties , 1992
Mybatis-PageHelper-master/wikis/Changelog.markdown , 15516
Mybatis-PageHelper-master/wikis/Home.markdown , 1990
Mybatis-PageHelper-master/wikis/HowToUse.markdown , 14743
Mybatis-PageHelper-master/wikis/Important.markdown , 1693
Mybatis-PageHelper-master/wikis/Test.markdown , 2501
Mybatis-PageHelper-master/wikis/UseOrderBy.md , 2457
