com.github.miemiedev.mybatis.paginator.support
类 SQLHelp

java.lang.Object
  继承者 com.github.miemiedev.mybatis.paginator.support.SQLHelp

public class SQLHelp
extends Object

作者:
poplar.yfyang, miemiedev

构造方法摘要
SQLHelp()
           
 
方法摘要
static int getCount(org.apache.ibatis.mapping.MappedStatement mappedStatement, org.apache.ibatis.transaction.Transaction transaction, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql, Dialect dialect)
          查询总纪录数
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SQLHelp

public SQLHelp()
方法详细信息

getCount

public static int getCount(org.apache.ibatis.mapping.MappedStatement mappedStatement,
                           org.apache.ibatis.transaction.Transaction transaction,
                           Object parameterObject,
                           org.apache.ibatis.mapping.BoundSql boundSql,
                           Dialect dialect)
                    throws SQLException
查询总纪录数

参数:
mappedStatement - mapped
parameterObject - 参数
boundSql - boundSql
dialect - database dialect
返回:
总记录数
抛出:
SQLException - sql查询错误


Copyright © 2015. All rights reserved.