接口的使用
org.hibernate.dialect.pagination.LimitHandler
-
使用LimitHandler的程序包 程序包 说明 org.hibernate.dialect This package abstracts the SQL dialect of the underlying database.org.hibernate.dialect.pagination Support for Dialect-specific pagination strategiesorg.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects.org.hibernate.loader.plan.exec.internal Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor. -
-
org.hibernate.dialect中LimitHandler的使用
-
org.hibernate.dialect.pagination中LimitHandler的使用
实现LimitHandler的org.hibernate.dialect.pagination中的类 修饰符和类型 类 说明 classAbstractLimitHandlerDefault implementation ofLimitHandlerinterface.classCUBRIDLimitHandlerLimit handler for CUBRIDclassFirstLimitHandlerclassInformix10LimitHandlerclassLegacyFirstLimitHandlerclassLegacyLimitHandlerLimit handler that delegates all operations to the underlying dialect.classNoopLimitHandlerHandler not supporting query LIMIT clause.classSQL2008StandardLimitHandlerLIMIT clause handler compatible with ISO and ANSI SQL:2008 standard.classSQLServer2005LimitHandlerLIMIT clause handler compatible with SQL Server 2005 and later.classSQLServer2012LimitHandlerLIMIT clause handler compatible with SQL Server 2012 and later.classSybaseASE157LimitHandlerThis limit handler is very conservative and is only triggered in simple cases involving a select or select distinct.classTopLimitHandler参数类型为LimitHandler的org.hibernate.dialect.pagination中的方法 修饰符和类型 方法 说明 static booleanLimitHelper. useLimit(LimitHandler limitHandler, RowSelection selection)Should limit be applied? -
org.hibernate.loader中LimitHandler的使用
返回LimitHandler的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected LimitHandlerLoader. getLimitHandler(RowSelection selection)Build LIMIT clause handler applicable for given selection criteria.参数类型为LimitHandler的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected ResultSetLoader. getResultSet(CallableStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given CallableStatement, advance to the first result and return SQL ResultSet.protected ResultSetLoader. getResultSet(PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given PreparedStatement, advance to the first result and return SQL ResultSet.protected PreparedStatementLoader. prepareQueryStatement(String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)Obtain a PreparedStatement with all parameters pre-bound. -
org.hibernate.loader.plan.exec.internal中LimitHandler的使用
返回LimitHandler的org.hibernate.loader.plan.exec.internal中的方法 修饰符和类型 方法 说明 protected LimitHandlerAbstractLoadPlanBasedLoader. getLimitHandler(RowSelection selection)Build LIMIT clause handler applicable for given selection criteria.参数类型为LimitHandler的org.hibernate.loader.plan.exec.internal中的方法 修饰符和类型 方法 说明 protected ResultSetAbstractLoadPlanBasedLoader. getResultSet(PreparedStatement st, RowSelection selection, LimitHandler limitHandler, boolean autodiscovertypes, SharedSessionContractImplementor session)Execute given PreparedStatement, advance to the first result and return SQL ResultSet.protected PreparedStatementAbstractLoadPlanBasedLoader. prepareQueryStatement(String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)Obtain a PreparedStatement with all parameters pre-bound.
-