Internal Website Search

101-150 of 200 results

javax.persistence.metamodel.PluralAttribute

JPA Interface PluralAttribute Type Parameters: - The type the represented collection belongs to - The type of the represented collection - The element type of the represented collection Super Interfaces: Attribute , Bindable Instances of the type PluralAttribute represent persistent collection

javax.persistence.MapKeyJoinColumn

a mapping to an entity that is a map key. The map key join column is in the collection table, join ... for an element collection , the foreign key column is in the collection table for the map value. If the join ... key for an element collection , the foreign key column is in the collection table for the map value

javax.persistence.JoinColumn

a column for joining an entity association or element collection . If the JoinColumn annotation ... key is in a join table. If the join is for an element collection , the foreign key is in a collection ... property or field in the entity, or if the join is for an element collection , the join column name

javax.persistence.criteria.Subquery

CollectionJoin correlate ( CollectionJoin  parentCollection) Create a subquery collection join object correlated to a collection join object of the enclosing query. Parameters: parentCollection - join ... Since: JPA 2.0 Predicate in ( Collection  values) Create a predicate to test

javax.persistence.PessimisticLockScope

, element collections and relationships owned by the entity that are contained in join tables ... those entities are explicitly locked). Locking such a relationship or element collection generally locks only the rows in the join table or collection table for that relationship or collection

javax.persistence.OrderBy

the ordering of the elements of a collection valued association or element collection at the point when the association or collection is retrieved. The syntax of the value ordering element is an orderby_list ... may be applied to an element collection . When OrderBy is applied to an element collection of basic type

javax.persistence.OneToMany

-valued association with one-to-many multiplicity. If the collection is defined using generics ... class to specify a relationship to a collection of entities. If the relationship is bidirectional ... that is the owner of the relationship. When the collection is a java.util.Map , the cascade element

javax.persistence.criteria.CollectionJoin

of the target Collection Super Interfaces: Expression , FetchParent , From , Join , Path , PluralJoin ... to a collection over an association or element collection that has been specified as a java.util. Collection ... for the collection attribute. Return: metamodel type representing the Collection that is the target

javax.persistence.criteria.PluralJoin

JPA Interface PluralJoin Type Parameters: - the source type - the collection type - the element type of the collection Super Interfaces: Expression , FetchParent , From , Join , Path , Selection , TupleElement The PluralJoin interface defines functionality that is common to joins to all collection

javax.persistence.criteria.Expression

Predicate in ( Collection  values) Create a predicate to test whether the expression is a member of the collection . Parameters: values - collection of values to be tested against Return: predicate ... ;values) Create a predicate to test whether the expression is a member of the collection . Parameters

javax.persistence.criteria.Path

compound attribute path from a bound type or collection , and is a "primitive" expression. Since: JPA 2.0 ... attribute Since: JPA 2.0 Expression get ( PluralAttribute   collection ) Create a path corresponding to the referenced collection -valued attribute. Parameters: collection - collection -valued attribute

javax.persistence.criteria.ParameterExpression

Inherited from: Parameter Since: JPA 2.0 Predicate in ( Collection  values) Create a predicate to test whether the expression is a member of the collection . Parameters: values - collection of values ... ;values) Create a predicate to test whether the expression is a member of the collection . Parameters

javax.persistence.criteria.CriteriaBuilder$Coalesce

( Collection  values) Create a predicate to test whether the expression is a member of the collection . Parameters: values - collection of values to be tested against Return: predicate testing ... whether the expression is a member of the collection . Parameters: values - expression corresponding to collection

javax.persistence.ManyToMany

within an embeddable class contained within an entity class to specify a relationship to a collection ... ) The operations that must be cascaded to the target of the association. When the target collection ... only if the collection -valued relationship property is defined using Java generics. Must be specified

javax.persistence.PessimisticLockScope.EXTENDED

for PessimisticLockScope.NORMAL , element collections and relationships owned by the entity ... element collection generally locks only the rows in the join table or collection table for that relationship or collection . This means that phantoms will be possible. Since: JPA 2.0

javax.persistence.MapKeyColumn

. If the map key is for an element collection , the map key column is in the collection table for the map ... : If the map key is for an element collection , the name of the collection table for the map value

javax.persistence.criteria.ListJoin

, TupleElement The ListJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.List . Since: JPA 2.0 Public ... or element collection . This method must only be invoked upon an object that represents

javax.persistence.MapKeyJoinColumn.table

for an element collection , the foreign key column is in the collection table for the map value. If the join ... of the entity that is the value of the map. Default: If the map is for an element collection , the name of the collection table for the map value. If the map is for a OneToMany or ManyToMany entity

javax.persistence.ElementCollection.targetClass

.class (Optional) The basic or embeddable class that is the element type of the collection . This element is optional only if the collection field or property is defined using Java generics, and must be specified otherwise. It defaults to the paramterized type of the collection when defined using generics. Since: JPA 2.0

javax.persistence.metamodel.CollectionAttribute

JPA Interface CollectionAttribute Type Parameters: - The type the represented Collection belongs to - The element type of the represented Collection Super Interfaces: Attribute , Bindable , PluralAttribute Instances of the type CollectionAttribute represent persistent java.util. Collection -valued attributes. Since: JPA 2.0

Attribute.isCollection() - JPA Method

JPA Method in javax.persistence.metamodel.Attribute boolean isCollection () Is the attribute collection -valued (represents a Collection , Set, List, or Map). Return: boolean indicating whether the attribute is collection -valued Since: JPA 2.0

javax.persistence.metamodel.Attribute

to an association Since: JPA 2.0 boolean isCollection () Is the attribute collection -valued (represents a Collection , Set, List, or Map). Return: boolean indicating whether the attribute is collection -valued Since: JPA 2.0

javax.persistence.OrderColumn

relationship or on an element collection . The OrderColumn annotation is specified on the side of the relationship that references the collection that is to be ordered. The order column is not visible ... when updating the association or element collection . The order column value for the first element is 0

Expression.in(values) - JPA Method

JPA Method in javax.persistence.criteria.Expression Predicate in (    Collection  values ) Create a predicate to test whether the expression is a member of the collection . Parameters: values - collection of values to be tested against Return: predicate testing for membership Since: JPA 2.0

javax.persistence.JoinColumn.name

using a join table, the foreign key is in a join table. If the join is for an element collection , the foreign key is in a collection table. Default (only applies if a single join column is used ... collection , the join column name is formed as the concatenation of the following: the name

javax.persistence.metamodel.PluralAttribute$CollectionType

JPA Enum CollectionType java.lang.Object ∟  java.lang.Enum ∟  javax.persistence.metamodel.PluralAttribute $CollectionType Since: JPA 2.0 Enum Constants COLLECTION Collection -valued attribute Since: JPA 2.0 LIST List-valued attribute Since: JPA 2.0 MAP Map-valued attribute Since: JPA 2.0

javax.persistence.criteria.SetJoin

, TupleElement The SetJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Set . Since: JPA 2.0 Public

PluralAttribute.getCollectionType() - JPA Method

JPA Method in javax.persistence.metamodel.PluralAttribute PluralAttribute .CollectionType getCollectionType () Return the collection type. Return: collection type Since: JPA 2.0

javax.persistence.PessimisticLockScope.NORMAL

) that correspond to the non- collection -valued persistent state of that instance. If a joined inheritance ... (unless those entities are explicitly locked). Element collections and relationships for which the entity

javax.jdo.FetchPlan

classes for DetachAllOnCommit. Return: The detachment root classes Since: JDO 2.0 Collection getDetachmentRoots () Get the roots for DetachAllOnCommit. Return: Collection of detachment roots. Since: JDO 2.0 ... . Parameters: rootClasses - The root classes. Since: JDO 2.0 FetchPlan setDetachmentRoots ( Collection

javax.jdo.JDOHelper

() PersistenceManager.getObjectById (Object oid,boolean validate) Since: JDO 1.0 Collection getObjectIds ( Collection  pcs) Get object ids for a collection of instances. For each instance in the parameter ... the parameter. The order of iteration of the returned Collection exactly matches the order of iteration

JDOHelper.getObjectIds(pcs) - JDO Static Method

JDO Static Method in javax.jdo.JDOHelper Collection getObjectIds (    Collection  pcs ) Get object ids for a collection of instances. For each instance in the parameter, the getObjectId ... . The order of iteration of the returned Collection exactly matches the order of iteration

PersistenceManager.makePersistentAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager Collection makePersistentAll (    Collection  pcs ) Make a Collection of instances persistent. Parameters: pcs - a Collection of instances ... the parameter Collection See Also: makePersistent (Object pc) Since: JDO 1.0

javax.jdo.spi.JDOImplHelper

for this class, or null if there isn't one. Since: JDO 1.0 Collection getRegisteredClasses () Returns a collection of class objects of the registered persistence-capable classes. Return: registered persistence ... ( Collection  smClasses) Register classes authorized to replaceStateManager. The caller of this method

javax.jdo.datastore.DataStoreCache$EmptyDataStoreCache

, boolean subclasses) Since: JDO 2.0 void evictAll ( Collection  oids) Since: JDO 2.0 ... ;pcClass, boolean subclasses) Since: JDO 2.0 void pinAll ( Collection  oids) Since: JDO 2.0 ... ;pcClass, boolean subclasses) Since: JDO 2.0 void unpinAll ( Collection  oids) Since: JDO 2

javax.jdo.datastore.DataStoreCache

evictAll ( Collection  oids) Evict the parameter instances from the second-level cache ... of the instance to pin. Since: JDO 2.0 void pinAll ( Collection  oids) Pin the parameter instances ... - the object id of the instance to unpin. Since: JDO 2.0 void unpinAll ( Collection  oids) Unpin

Query.executeWithArray(parameters) - JDO Method

) Execute the query and return the filtered Collection . The execution of the query obtains the values ... for consistency. Each element in the candidate Collection is examined to see that it is assignment ... expression evaluates to true . Parameters: parameters - the Object array with all of the parameters. Return: the filtered Collection . Since: JDO 1.0

Query.addSubquery(sub,variableDeclaration,candidateCollectionExpression,parameters) - JDO Method

with a PersistenceManager, the candidate collection or extent, result class, and range limits are not used ... is the empty String, or the parameter is null, then the candidate collection is the extent ... of the subquery candidateCollectionExpression - the candidate collection of the subquery as an expression using

Query.setCandidates(pcs) - JDO Method

JDO Method in javax.jdo.Query void setCandidates (    Collection  pcs ) Set the candidate Collection to query. Parameters: pcs - the candidate Collection . Since: JDO 1.0

PersistenceManager.deletePersistentAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager void deletePersistentAll (    Collection  pcs ) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent instances See Also: deletePersistent (Object pc) Since: JDO 1.0

PersistenceManager.makeNontransactionalAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager void makeNontransactionalAll (    Collection  pcs ) Make a Collection of instances non-transactional after commit. Parameters: pcs - the Collection of instances to make nontransactional. See Also: makeNontransactional (Object pc) Since: JDO 1.0

PersistenceManager.makeTransactionalAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager void makeTransactionalAll (    Collection  pcs ) Make a Collection of instances subject to transactional boundaries. Parameters: pcs - the Collection of instances to make transactional. See Also: makeTransactional (Object pc) Since: JDO 1.0

PersistenceManager.newQuery(cls,cln,filter) - JDO Method

;    Collection  cln,    String filter ) Create a new Query with the Class of the candidate instances, candidate Collection , and filter. Parameters: cls - the Class of candidate instances cln - the Collection of candidate instances filter - the filter for candidate instances Return: the new Query Since: JDO 1.0

PersistenceManager.getObjectsById(oids) - JDO Method

JDO Method in javax.jdo.PersistenceManager Collection getObjectsById (    Collection  oids ) Return the objects with the given oids. This method is equivalent to calling ( Collection , boolean) with the validate flag true. Parameters: oids - the oids of the objects to return Return

PersistenceManager.refreshAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager void refreshAll (    Collection  pcs ) Refresh the state of a Collection of instances from the data store. Parameters: pcs - the Collection of instances to refresh. See Also: refresh (Object pc) Since: JDO 1.0

PersistenceManager.evictAll(pcs) - JDO Method

JDO Method in javax.jdo.PersistenceManager void evictAll (    Collection  pcs ) Mark a Collection of instances as no longer needed in the cache. Parameters: pcs - the Collection of instances to evict from the cache. See Also: evict (Object pc) Since: JDO 1.0

PersistenceManager.newQuery(cls,cln) - JDO Method

JDO Method in javax.jdo.PersistenceManager Query newQuery (   Class cls,     Collection  cln ) Create a new Query with the candidate Class and Collection . Parameters: cls - the Class of results cln - the Collection of candidate instances Return: the new Query Since: JDO 1.0

FetchPlan.setGroups(fetchGroupNames) - JDO Method

JDO Method in javax.jdo.FetchPlan FetchPlan setGroups (    Collection  fetchGroupNames ) Set a collection of groups. Parameters: fetchGroupNames - a collection of names of fetch groups Return: the FetchPlan Since: JDO 2.0

PersistenceManagerFactory.supportedOptions() - JDO Method

JDO Method in javax.jdo.PersistenceManagerFactory Collection supportedOptions () The application can determine from the results of this method which optional features, and which query languages ... query language is represented by a String : javax.jdo.query.JDOQL Return: the Collection of String s representing the supported options. Since: JDO 1.0

JDOImplHelper.registerAuthorizedStateManagerClasses(smClasses) - JDO Static Method

JDO Static Method in javax.jdo.spi.JDOImplHelper void registerAuthorizedStateManagerClasses (    Collection  smClasses ) Register classes authorized to replaceStateManager. The caller ... of the instance of the parameter must have been registered. Parameters: smClasses - a Collection