org.hdpagination.dataaccess.orm.hibernate2
Class DefaultHBN2QueryCallback
java.lang.Object
org.hdpagination.dataaccess.orm.hibernate2.AbstractHBN2QueryCallback
org.hdpagination.dataaccess.orm.hibernate2.NoParamBindHBN2QueryCallback
org.hdpagination.dataaccess.orm.hibernate2.DefaultHBN2QueryCallback
- All Implemented Interfaces:
- java.io.Serializable, QueryCallback, HBN2QueryCallback
public class DefaultHBN2QueryCallback
- extends NoParamBindHBN2QueryCallback
A subclass of AbstractHBN2QueryCallback providing default implementation:
No processing of returned result from calling net.sf.hibernate.Query.list() method
HQL statement has no parameters to bind with
- Since:
- 1.0
- Author:
- Liangfeng Ren
- See Also:
- Serialized Form
|
Method Summary |
java.util.List |
processQueriedResult(java.util.List queriedResult)
Do nothing,just return input |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHBN2QueryCallback
public DefaultHBN2QueryCallback(java.lang.String queryStmt)
- Parameters:
queryStmt - HQL statement
DefaultHBN2QueryCallback
public DefaultHBN2QueryCallback(java.lang.String queryStmt,
java.lang.String orderBy)
- Parameters:
queryStmt - HQL statementorderBy - column that will be added to the 'order by' clause of EJB QL statement
DefaultHBN2QueryCallback
public DefaultHBN2QueryCallback(java.lang.String queryStmt,
java.lang.String orderBy,
boolean ascending)
- Parameters:
queryStmt - HQL statementorderBy - column that will be added to the 'order by' clause of EJB QL statementascending - if sorted by ascending order
processQueriedResult
public java.util.List processQueriedResult(java.util.List queriedResult)
- Do nothing,just return input
- Specified by:
processQueriedResult in interface HBN2QueryCallback- Specified by:
processQueriedResult in class NoParamBindHBN2QueryCallback
- Returns:
Copyright © 2008 HDPagination All Rights Reserved.