Home » Search

About named queries

81-90 of 200Refresh
JDO Doc
16

javax.jdo.PersistenceManager

of the specified Class Since: JDO 1.0 See Also: Query FetchGroup getFetchGroup(Class cls, String name ... (Class cls, String queryName) Create a new Query with the given candidate class from a named query. Create a new Query with the given candidate class from a named query. The query name given
Manual
16

Schema Update

abilities: name="com.example.old1" new-name="com.example.new1" /> name="com.example.old2" new-name="com.example.new2"> name="A" new-name="NewA" /> name="B"> name="f1" new-name="newF1" /> name="f2" new-name="newF2
JPA Doc
15

javax.persistence.EntityManager

- if not an entity Since: JPA 1.0 Query createNamedQuery(String name) Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL). Create an instance of Query for executing a named query (in the Java Persistence query language or in native SQL
JDO Doc
15

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

 overrides,   String name,   ClassLoader resourceLoader,   ClassLoader pmfLoader ) Returns a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax
Manual
15

Retrieving JPA Entity Objects

object (e.g. the name of the manager in the example above) causes the retrieval of missing content from ... object. Retrieval by Query The most flexible method for retrieving objects from the database is to use queries. The official query language of JPA is JPQL (Java Persistence Query Language). It enables
Issue
14

Named Query Exception

to create a query using a closed EntityManager. If this is the case, a better error message
Manual
14

Shared (L2) Entity Cache

. Cache of query programs. Cache of query execution results. The scope of these server side caches ... unit property:    name="my-pu">      ...             name="javax.persistence.sharedCache.mode" value="ALL"/>     
JPA Doc
14

JoinColumn.name

Annotation Element javax.persistence.JoinColumn String name (Optional) The name of the foreign key ... of the following: the name of the referencing relationship property or field of the referencing entity or embeddable class; "_"; the name of the referenced primary key column. If there is no such referencing
JPA Doc
13

getAttribute(name)

Method javax.persistence.metamodel.ManagedType Attribute getAttribute(   String name ) Return the attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: attribute with given name Throws: IllegalArgumentException
JPA Doc
13

getCollection(name)

 name ) Return the Collection-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: CollectionAttribute of the given name Throws: IllegalArgumentException - if attribute of the given name is not present in the managed type Since: JPA 2.0