ObjectDB Database Search

101-150 of 200 results

InterfaceRef jakarta.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

InterfaceRef jakarta.persistence.criteria.Expression

: predicate testing for equality Since: JPA 3.2 Predicate in ( Collection  values) Create a predicate to test whether the expression is a member of the collection . Parameters: values - collection of values ... whether the expression is a member of the collection . Parameters: values - expression corresponding to collection

InterfaceRef jakarta.persistence.criteria.Path

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

InterfaceRef jakarta.persistence.criteria.ParameterExpression

of parameter 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 to be tested against Return: predicate testing for membership Inherited from

InterfaceRef jakarta.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

AnnotationRef jakarta.persistence.ManyToMany

within an embeddable class contained within an entity class to specify a relationship to a collection of entities ... that must be cascaded to the target of the association. When the target collection is a java.util.Map ... . Optional only if the collection -valued relationship property is defined using Java generics

EnumConstRef jakarta.persistence.PessimisticLockScope.EXTENDED

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

InterfaceRef jakarta.persistence.Subgraph

to the graph that corresponds to a collection element that is a managed type. This allows ... a node to the graph that corresponds to a collection element that is a managed type. This allows ... ;attributeName, Class  type) Add a node to the graph that corresponds to a collection element

AnnotationRef jakarta.persistence.MapKeyColumn

in which it is found depends upon the context. If the map key is for an element collection , the map key column is in the collection table for the map value. If the map key is for a ManyToMany entity ... that contains the column. Defaults: If the map key is for an element collection , the name

InterfaceRef jakarta.persistence.Graph

) Add a node to the graph that corresponds to a collection element that is a managed type. This allows ... to the graph that corresponds to a collection element that is a managed type. This allows ... a node to the graph that corresponds to a collection element that is a managed type. This allows

InterfaceRef jakarta.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 ... association or element collection . This method must only be invoked upon an object that represents

AnnotationRef jakarta.persistence.Convert

other than java.util.Map , in which case the converter is applied to the elements of the collection . In ... is applied to the specified attribute of the embeddable instances contained in the collection a map collection attribute, that is, a collection attribute of type java.util.Map , in which case the converter

InterfaceRef jakarta.persistence.EntityGraph

( PluralAttribute  attribute) Add a node to the graph that corresponds to a collection element ... addElementSubgraph (String attributeName) Add a node to the graph that corresponds to a collection ... that corresponds to a collection element that is a managed type. This allows for construction of multi

AnnotationAttrRef jakarta.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

AnnotationAttrRef jakarta.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 parameterized type of the collection when defined using generics. Since: JPA 2.0

InterfaceRef jakarta.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 jakarta.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

InterfaceRef jakarta.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

AnnotationRef jakarta.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 jakarta.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

InterfaceRef jakarta.persistence.criteria.SetJoin

, Selection , 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

PluralAttribute.getCollectionType() - JPA Method

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

EnumConstRef jakarta.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

PluralJoin.getModel() - JPA Method

JPA Method in jakarta.persistence.criteria.PluralJoin PluralAttribute getModel () Return the metamodel representation for the collection -valued attribute corresponding to the join. Return: metamodel collection -valued attribute corresponding to the target of the join Since: JPA 2.0

EnumRef jakarta.persistence.metamodel.Attribute$PersistentAttributeType

JPA Enum PersistentAttributeType java.lang.Object ∟  java.lang.Enum ∟  javax.persistence.metamodel.Attribute $PersistentAttributeType Since: JPA 2.0 Enum Constants BASIC Basic attribute Since: JPA 2.0 ELEMENT_ COLLECTION Element collection Since: JPA 2.0 EMBEDDED Embeddable class

AnnotationAttrRef jakarta.persistence.MapKeyJoinColumn.name

upon the context. If the join is for a map key for an element collection , the foreign key column is in the collection table for the map value. If the join is for a map key for a ManyToMany entity relationship

AnnotationAttrRef jakarta.persistence.MapKeyColumn.table

JPA Annotation Attribute in jakarta.persistence.MapKeyColumn String table default "" (Optional) The name of the table that contains the column. Defaults: If the map key is for an element collection , the name of the collection table for the map value. If the map key is for a OneToMany or ManyToMany

Subquery.correlate(parentCollection) - JPA Method

JPA Method in jakarta.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 object of the containing query Return: subquery join Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.CollectionTable.name

JPA Annotation Attribute in jakarta.persistence.CollectionTable String name default "" (Optional) The name of the collection table. If not specified, it defaults to the concatenation of the name of the containing entity and the name of the collection attribute, separated by an underscore. Since: JPA 2.0

AnnotationAttrRef jakarta.persistence.OneToMany.targetEntity

JPA Annotation Attribute in jakarta.persistence.OneToMany Class targetEntity default void.class (Optional) The entity class that is the target of the association. Optional only if the collection ... type of the collection when defined using generics. Since: JPA 1.0

AnnotationAttrRef jakarta.persistence.MapKeyColumn.name

JPA Annotation Attribute in jakarta.persistence.MapKeyColumn String name default "" (Optional) The name of the map key column. The table in which it is found depends upon the context. If the map key is for an element collection , the map key column is in the collection table for the map value

AnnotationAttrRef jakarta.persistence.ManyToMany.targetEntity

JPA Annotation Attribute in jakarta.persistence.ManyToMany Class targetEntity default void.class (Optional) The entity class that is the target of the association. Optional only if the collection ... to the parameterized type of the collection when defined using generics. Since: JPA 1.0

CollectionJoin.getModel() - JPA Method

JPA Method in jakarta.persistence.criteria.CollectionJoin CollectionAttribute getModel () Return the metamodel representation for the collection attribute. Return: metamodel type representing the {@code Collection } that is the target of the join Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.FetchParent

Fetch fetch ( PluralAttribute  attribute) Create a fetch join to the specified collection -valued ... a fetch join to the specified collection -valued attribute using the given join type. Parameters: attribute

Expression.in(values) - JPA Method

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

AnnotationRef jakarta.persistence.AttributeOverride

class (or embeddable class of one of its attributes). May be applied to an element collection containing instances of an embeddable class or to a map collection whose key and/or value is an embeddable

InterfaceRef jakarta.persistence.criteria.Fetch

collection -valued attribute using an inner join. Parameters: attribute - target of the join Return ... ;attribute,  JoinType  jt) Create a fetch join to the specified collection -valued attribute

ManagedType.getDeclaredPluralAttributes() - JPA Method

JPA Method in jakarta.persistence.metamodel.ManagedType Set getDeclaredPluralAttributes () Return all multi-valued attributes ( Collection -, Set-, List-, and Map-valued attributes) declared by ... : declared Collection -, Set-, List-, and Map-valued attributes Since: JPA 2.0

ManagedType.getPluralAttributes() - JPA Method

JPA Method in jakarta.persistence.metamodel.ManagedType Set getPluralAttributes () Return all multi-valued attributes ( Collection -, Set-, List-, and Map-valued attributes) of the managed type. Returns empty set if the managed type has no multi-valued attributes. Return: Collection -, Set-, List-, and Map-valued attributes Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.MapJoin

of joining to a collection over an association or element collection that has been specified as a java.util

ListJoin.index() - JPA Method

JPA Method in jakarta.persistence.criteria.ListJoin Expression index () Create an expression that corresponds to the index of the object in the referenced association or element collection . This method must only be invoked upon an object that represents an association or element collection

AnnotationAttrRef jakarta.persistence.JoinColumn.table

. If the join is for an element collection , the name of the collection table. Since: JPA 1.0

AnnotationAttrRef jakarta.persistence.JoinColumn.name

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

EnumRef jakarta.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

PluralAttribute.getElementType() - JPA Method

JPA Method in jakarta.persistence.metamodel.PluralAttribute Type getElementType () Return the type representing the element type of the collection . Return: element type Since: JPA 2.0

AnnotationRef jakarta.persistence.Lob

with the ElementCollection annotation when the element collection value is of basic type. A Lob

AnnotationAttrRef jakarta.persistence.CollectionTable.joinColumns

JPA Annotation Attribute in jakarta.persistence.CollectionTable JoinColumn [] joinColumns default {} (Optional) The foreign key columns of the collection table which reference the primary table of the entity. The default only applies if a single join column is used. The default is the same as

AnnotationRef jakarta.persistence.MapKeyEnumerated

JPA Annotation MapKeyEnumerated Target: METHOD, FIELD Implemented Interfaces: Annotation Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated annotation can be applied to an element collection or relationship of type java.util.Map , in conjunction

Graph.addElementSubgraph(attributeName,type) - JPA Method

JPA Method in jakarta.persistence.Graph Subgraph addElementSubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs

Graph.addElementSubgraph(attributeName) - JPA Method

JPA Method in jakarta.persistence.Graph Subgraph addElementSubgraph (   String attributeName ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs that include related managed types