Uses of Class
org.apache.cayenne.query.MappedSelect
Package
Description
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of MappedSelect in org.apache.cayenne.query
Modifier and TypeMethodDescriptionMappedSelect.forceNoCache()
Forces query cache to be refreshed during the execution of this query.MappedSelect.limit
(int fetchLimit) Resets query fetch limit - a parameter that defines max number of objects that should be ever be fetched from the database.MappedSelect.offset
(int fetchOffset) Resets query fetch offset - a parameter that defines how many objects should be skipped when reading data from the database.MappedSelect.pageSize
(int pageSize) Resets query page size.static MappedSelect
<?> Loads query with the given name from the mapping configuration.static <T> MappedSelect
<T> Loads query with the given name, which selects objects of a given persistent class, from the mapping configuration.MappedSelect.queryTimeout
(int timeout) Sets query timeout for the PreparedStatement generated for this query.MappedSelect.statementFetchSize
(int statementFetchSize) Sets fetch size of the PreparedStatement generated for this query.