Home » Search

About named queries

41-50 of 200Refresh
JPA Doc
28

createNamedQuery(name, resultClass)

> resultClass ) Create an instance of TypedQuery for executing a Java Persistence query language named ... to the type specified by the resultClass argument. Parameters: name - the name of a query defined in ... : IllegalArgumentException - if a query has not been defined with the given name or if the query string is found
JPA Doc
28

createNamedQuery(name)

Method javax.persistence.EntityManager Query createNamedQuery(   String name ) Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL). Parameters: name - the name of a query defined in metadata Returns: the new query instance Throws
Tutorial
26

Step 4: Create an ObjectDB Data Set

Queries against the database are represented in BIRT as data sets. To create the data set: Open ... Points).  Enter a data set name (e.g. Points by X) and click Next. The database in this tutorial contains Point entity objects. We will use a simple JPQL query that retrieves points with x value in
JPA Doc
26

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
26

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
26

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
26

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
Result
26

ObjectDB Object Database Features

query definition, including using JPA Criteria Query API. Static definition (named queries) in ... attributes, grouping queries and aggregate queries) which are usually missing from Object Oriented ...  (per EntityManagerFactory). Database file page cache. Query program cache (for repeating queries
JPA Doc
25

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
25

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