About query

91-100 of 200Refresh
JDO Doc
24

Query.name

Annotation Element javax.jdo.annotations.Query String name Name of the query (mandatory) Returns: the name of the query Since: JDO 2.1
JDO Doc
24

Query.unique

Annotation Element javax.jdo.annotations.Query String unique Whether the query returns a single unique result. Returns: whether the query returns a single unique result Default value: "" Since: JDO 2.1
JDO Doc
24

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
24

Query.value

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

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
24

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
24

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
24

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
24

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
24

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