Home » Search

About Query

91-100 of 200Refresh
JDO Doc
29

Query.unmodifiable

Annotation Element javax.jdo.annotations.Query String unmodifiable Whether the query is unmodifiable. Returns: whether the query is unmodifiable Default value: "" Since: JDO 2.1
JDO Doc
29

Query.value

Annotation Element javax.jdo.annotations.Query String value The query string (mandatory) Returns: the query string Since: JDO 2.1
JDO Doc
29

setClass(cls)

Method javax.jdo.Query void setClass(   Class cls ) Set the class of the candidate instances of the query. The class specifies the class of the candidates of the query. Elements of the candidate collection that are of the specified class are filtered before being put into the result Collection
JPA Doc
29

setFirstResult(startPosition)

Method javax.persistence.Query Query setFirstResult(   int startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result, numbered from 0 Returns: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0
JPA Doc
29

setMaxResults(maxResult)

Method javax.persistence.Query Query setMaxResults(   int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Returns: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0
JDO Doc
29

setRange(fromIncl, toExcl)

Method javax.jdo.Query void setRange(   long fromIncl,   long toExcl ) Set the range of results to return. The execution of the query is modified to return only a subset of results. If the filter ... and the remaining 30 results are ignored. An implementation should execute the query such that the range
JDO Doc
29

setRange(fromInclToExcl)

Method javax.jdo.Query void setRange(   String fromInclToExcl ) Set the range of results to return ... , :to");. The execution of the query is modified to return only a subset of results. If the filter would normally ... are ignored. An implementation should execute the query such that the range algorithm
JDO Doc
29

setResultClass(cls)

Method javax.jdo.Query void setResultClass(   Class cls ) Specify the type of object in ... or set to null, the result class defaults to the candidate class of the query. If the result ... argument is the value from the query result. Portable result classes do not invoke any persistence
JDO Doc
29

setUnique(unique)

Method javax.jdo.Query void setUnique(   boolean unique ) Specify that only the first result of the query should be returned, rather than a collection. The execute method will return null if the query result size is 0. Parameters: unique - if true, only one element is returned Since: JDO 2.0
JPA Doc
29

unwrap(cls)

Method javax.persistence.Query T unwrap(   Class cls ) Return an object of the specified type to allow access to the provider-specific API. If the provider's query implementation does not support ... to be returned. This is normally either the underlying query implementation class or an interface