| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SelectQuery
Specifies the retrieval methods applicable to a standard SELECT query.
| Method Summary | ||
|---|---|---|
 | 
getResultList(Class<T> clazz)
returns all results.  | 
|
 | 
getResultList(Class<T> clazz,
              int firstRow,
              int maxNumOfRows)
type-safe variant of getResultList(int, int). | 
|
 List<?> | 
getResultList(int firstRow,
              int maxNumOfRows)
returns the results in the given range.  | 
|
 | 
getSingleResult(Class<T> clazz)
 | 
|
| Method Detail | 
|---|
List<?> getResultList(int firstRow,
                      int maxNumOfRows)
firstRow - first rowmaxNumOfRows - max number of rows returned
<T> List<T> getResultList(Class<T> clazz)
T - entity typeclazz - entity class
<T> List<T> getResultList(Class<T> clazz,
                          int firstRow,
                          int maxNumOfRows)
getResultList(int, int).
T - entity typeclazz - entity classfirstRow - first rowmaxNumOfRows - max number of rows returned
<T> T getSingleResult(Class<T> clazz)
T - entity typeclazz - entity class
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||