public class SqlServer2012Dialect extends SqlServerDialect
CACHE_COUNTSQL, CACHE_PAGESQL, pageSql, replaceSql
countSqlParser
PAGEPARAMETER_FIRST, PAGEPARAMETER_SECOND, SUFFIX_COUNT, SUFFIX_PAGE
Constructor and Description |
---|
SqlServer2012Dialect() |
Modifier and Type | Method and Description |
---|---|
String |
getPageSql(String sql,
Page page,
org.apache.ibatis.cache.CacheKey pageKey)
单独处理分页部分
|
Object |
processPageParameter(org.apache.ibatis.mapping.MappedStatement ms,
Map<String,Object> paramMap,
Page page,
org.apache.ibatis.mapping.BoundSql boundSql,
org.apache.ibatis.cache.CacheKey pageKey)
处理分页参数
|
getCountSql, setProperties
afterAll, afterCount, afterPage, beforeCount, beforePage, getLocalPage, getPageSql, handleParameter, processParameterObject, skip
public Object processPageParameter(org.apache.ibatis.mapping.MappedStatement ms, Map<String,Object> paramMap, Page page, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey)
AbstractHelperDialect
processPageParameter
in class SqlServerDialect
public String getPageSql(String sql, Page page, org.apache.ibatis.cache.CacheKey pageKey)
AbstractHelperDialect
getPageSql
in class SqlServerDialect
Copyright © 2018. All rights reserved.