About query

121-130 of 200Refresh
JPA Doc
59

getParameterValue(name)

Method javax.persistence.Query Object getParameterValue(   String name ) Return the value bound to the named parameter. Parameters: name - parameter name Returns: parameter value Throws: IllegalStateException - if the parameter has not been been bound IllegalArgumentException - if the parameter of the specified name does not exist Since: JPA 2.0
JPA Doc
59

getParameterValue(position)

Method javax.persistence.Query Object getParameterValue(   int position ) Return the value bound to the positional parameter. Parameters: position - position Returns: parameter value Throws: IllegalStateException - if the parameter has not been been bound IllegalArgumentException - if the parameter with the specified position does not exist Since: JPA 2.0
JPA Doc
59

isBound(param)

Method javax.persistence.Query boolean isBound(   Parameter param ) Return a boolean indicating whether a value has been bound to the parameter. Parameters: param - parameter object Returns: boolean indicating whether parameter has been bound Since: JPA 2.0
JDO Doc
59

Query.extensions

Annotation Element javax.jdo.annotations.Query Extension[] extensions Vendor extensions. Returns: the vendor extensions Default value: {} Since: JDO 2.1
JDO Doc
59

Query.resultClass

Annotation Element javax.jdo.annotations.Query Class resultClass Result class into which to put the results. Returns: the class of the result Default value: void.class Since: JDO 2.1
JDO Doc
59

setExtensions(extensions)

Method javax.jdo.Query void setExtensions(   Map extensions ) Set multiple extensions, or use null to clear all extensions. Map keys and values are not standard. An implementation must ignore entries that are not recognized. Parameters: extensions - the map of extensions Since: JDO 2.0 See Also: addExtension
JDO Doc
59

setGrouping(group)

Method javax.jdo.Query void setGrouping(   String group ) Set the grouping expressions, optionally including a "having" clause. When grouping is specified, each result expression must either be an expression contained in the grouping, or an aggregate evaluated once per group. Parameters: group
JDO Doc
59

setOrdering(ordering)

Method javax.jdo.Query void setOrdering(   String ordering ) Set the ordering specification for the result Collection. The ordering specification is a String containing one or more ordering declarations separated by commas. Each ordering declaration is the name of the field on which to order
Manual
34

SELECT clause (JPQL / Criteria API) [2013-03-11]

, the following query returns Country objects that become managed by the EntityManager em: TypedQuery query = em.createQuery("SELECT c FROM Country c", Country.class); List results = query.getResultList(); Because the results are managed entity objects they have all the support
Manual
34

FROM clause (JPQL / Criteria API)

The FROM clause declares query identification variables that represent iteration over objects in the database. A query identification variable is similar to a variable of a Java enhanced for loop in a program, since both are used for iteration over objects. Range Variables Range variables are query