Package | Description |
---|---|
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
Modifier and Type | Method and Description |
---|---|
ProcedureCall<T> |
ProcedureCall.capsStrategy(CapsStrategy capsStrategy) |
static ProcedureCall<DataRow> |
ProcedureCall.dataRowQuery(String procedure)
Creates procedure call returning data rows using name of stored procedure defined in the mapping file.
|
ProcedureCall<T> |
ProcedureCall.limit(int fetchLimit) |
ProcedureCall<T> |
ProcedureCall.offset(int fetchOffset) |
ProcedureCall<T> |
ProcedureCall.param(String name,
Object value) |
ProcedureCall<T> |
ProcedureCall.params(Map<String,?> parameters) |
static ProcedureCall |
ProcedureCall.query(String procedure)
Creates procedure call using name of stored procedure defined in the mapping file.
|
static <T> ProcedureCall<T> |
ProcedureCall.query(String procedure,
Class<T> resultClass)
Creates procedure call using name of stored procedure defined in the mapping file and specifies data type
of the objects it should return.
|
ProcedureCall<T> |
ProcedureCall.resultDescriptor(ColumnDescriptor[] resultDescriptor) |
Copyright © 2001–2018 Apache Cayenne. All rights reserved.