About named queries

41-50 of 200Refresh
JPA Doc
37

Entity.name

Annotation Element javax.persistence.Entity String name (Optional) The entity name. Defaults to the unqualified name of the entity class. This name is used to refer to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0
JPA Doc
37

setParameter(name, value)

Method javax.persistence.TypedQuery TypedQuery setParameter(   String name,   Object value ) Bind an argument to a named parameter. Parameters: name - parameter name value - parameter value Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not
JPA Doc
37

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   String name,   Calendar value,   TemporalType temporalType ) Bind an instance of java.util.Calendar to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query
JPA Doc
37

setParameter(name, value, temporalType)

Method javax.persistence.TypedQuery TypedQuery setParameter(   String name,   Date value,   TemporalType temporalType ) Bind an instance of java.util.Date to a named parameter. Parameters: name - parameter name value - parameter value temporalType - temporal type Returns: the same query instance
JPA Doc
36

NamedNativeQuery.name

Annotation Element javax.persistence.NamedNativeQuery String name The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0
JPA Doc
36

NamedQuery.name

Annotation Element javax.persistence.NamedQuery String name (Required) The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0
JPA Doc
36

ColumnResult.name

Annotation Element javax.persistence.ColumnResult String name (Required) The name of a column in the SELECT clause of a SQL query Since: JPA 1.0
JPA Doc
36

SqlResultSetMapping.name

Annotation Element javax.persistence.SqlResultSetMapping String name The name given to the result set mapping, and used to refer to it in the methods of the Query API. Since: JPA 1.0
JDO Doc
33

javax.jdo.annotations.Query

javax.jdo.annotations Annotation Query Target: Classes Annotation for a named query. Corresponds ... of the fetch plan used by this query The name of the fetch plan used by this query Returns: the fetch plan ... : the query language Default value: "JDOQL" Since: JDO 2.1 String name Name of the query (mandatory) Name
JDO Doc
31

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

to this Query variableDeclaration - the name of the variable in the outer query to bind the results ... Method javax.jdo.Query void addSubquery(   Query sub,   String variableDeclaration,   String candidateCollectionExpression,   String... parameters ) Add a subquery to this query. A subquery