ObjectDB Database Search

101-150 of 200 results

jakarta.persistence.criteria.Subquery.correlate(CollectionJoin)

(    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 Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(SetJoin)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery SetJoin correlate (    SetJoin parentSet ) Create a subquery set join object correlated to a set join object of the enclosing query. Parameters: parentSet - join object of the containing query Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(ListJoin)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery ListJoin correlate (    ListJoin parentList ) Create a subquery list join object correlated to a list join object of the enclosing query. Parameters: parentList - join object of the containing query Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery.correlate(MapJoin)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery MapJoin correlate (    MapJoin parentMap ) Create a subquery map join object correlated to a map join object of the enclosing query. Parameters: parentMap - join object of the containing query Returns: subquery join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.FetchParent.fetch(String)

;  String attributeName ) Create a fetch join to the specified attribute using an inner join . Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting fetch join . Throws: IllegalArgumentException - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.FetchParent.fetch(SingularAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch (    SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join . Parameters: attribute - target of the join Returns: the resulting fetch join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.FetchParent.fetch(PluralAttribute)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Fetch fetch (    PluralAttribute attribute ) Create a fetch join to the specified collection-valued attribute using an inner join . Parameters: attribute - target of the join Returns: the resulting join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.ForeignKey

for the join column(s) to which the foreign key annotation is applied. See Also: JoinColumn JoinColumns ... it determines most appropriate for the join column or columns to which the foreign key annotation

jakarta.persistence.InheritanceType

Since: Jakarta Persistence (JPA) 1.0 Enum Constants JOINED A table for each abstract or concrete entity class ... table rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.StoredProcedureQuery

or the persistence context has not been joined to the transaction. QueryTimeoutException ... context has not been joined to the transaction. QueryTimeoutException - if the query execution exceeds

jakarta.persistence.SynchronizationType

with the current transaction or whether the persistence context must be explicitly joined to the current ... joined to the current transaction Since: Jakarta Persistence (JPA) 1.0 Synthetic Public Static Methods

jakarta.persistence.OneToMany

to a join table using the JoinTable annotation. The OneToMany annotation may be used ... : @OneToMany(orphanRemoval = true) @JoinColumn(name = "CUST_ID") // join column is in table

jakarta.persistence.criteria.CollectionJoin.on(Expression)

on (    Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CollectionJoin.on(Predicate...)

on (    Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.SetJoin.on(Expression)

; Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.SetJoin.on(Predicate...)

; Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.Subquery.getCorrelatedJoins()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Set getCorrelatedJoins() Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins . Modifications to the set do not affect the query. Returns: the correlated joins of the subquery. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.ListJoin.on(Expression)

;  Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.MapJoin.on(Expression)

; Expression restriction ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restriction - a simple or compound boolean expression Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.MapJoin.on(Predicate...)

; Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.ListJoin.on(Predicate...)

;  Predicate... restrictions ) Modify the join to restrict the result according to the specified ON condition and return the join object. Replaces the previous ON condition, if any. Parameters: restrictions - zero or more restriction predicates Returns: the modified join object. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.JoinColumn.referencedColumnName

is in the entity table of the owning entity, or inverse entity if the join is part of the inverse join definition. When used in a CollectionTable mapping, the referenced column is in the table of the entity containing the collection. Default (only applies if single join column is being used

jakarta.persistence.criteria.From.getJoins()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From Set getJoins() Return the joins that have been made from this bound type. Returns empty set if no joins have been made from this bound type. Modifications to the set do not affect the query. Returns: joins made from this type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.From.joinCollection(String)

joinCollection (    String attributeName ) Create an inner join to the specified Collection -valued attribute. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting join . Throws: IllegalArgumentException - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.From.joinSet(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From SetJoin joinSet (    String attributeName ) Create an inner join to the specified Set -valued attribute. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting join . Throws

jakarta.persistence.criteria.From.joinList(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From ListJoin joinList (    String attributeName ) Create an inner join to the specified List -valued attribute. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting join

jakarta.persistence.criteria.From.joinMap(String)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From MapJoin joinMap (    String attributeName ) Create an inner join to the specified Map -valued attribute. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting join . Throws

jakarta.persistence.criteria.Fetch.getJoinType()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Fetch JoinType getJoinType() Return the join type used in the fetch join . Returns: join type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.FetchParent.getFetches()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.FetchParent Set getFetches() Return the fetch joins that have been made from this type. Returns empty set if no fetch joins have been made from this type. Modifications to the set do not affect the query. Returns: fetch joins made from this type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.CollectionTable.joinColumns

of the entity. The default only applies if a single join column is used. The default is the same as ... of the referenced primary key column.) However, if there is more than one join column, a JoinColumn annotation must be specified for each join column using the JoinColumns annotation. In this case

jakarta.persistence.criteria.CriteriaQuery.select(Selection)

API may need to specify the type of the select item when it results from a get or join operation ... = cb.createQuery(Product.class); q2.select(q2.from(Order.class) . join ("items") . join ("product

jakarta.persistence.criteria.CriteriaBuilder.treat(SetJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder SetJoin treat (    SetJoin join ,    Class type ) Downcast SetJoin object to the specified type. Parameters: join - SetJoin object type - type to be downcast to Returns: SetJoin object of the specified type. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.treat(ListJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder ListJoin treat (    ListJoin join ,    Class type ) Downcast ListJoin object to the specified type. Parameters: join - ListJoin object type - type to be downcast to Returns: ListJoin object of the specified type. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.CriteriaBuilder.treat(MapJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder MapJoin treat (    MapJoin join ,    Class type ) Downcast MapJoin object to the specified type. Parameters: join - MapJoin object type - type to be downcast to Returns: MapJoin object of the specified type. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.criteria.PluralJoin.getModel()

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

jakarta.persistence.PessimisticLockScope.NORMAL

. If a joined inheritance strategy is used, or if the entity is otherwise mapped to a secondary table ... to join tables or unidirectional one-to-many relationships for which the target entity contains

jakarta.persistence.PessimisticLockScope.EXTENDED

and relationships owned by the entity that are contained in join tables are locked if the property ... ). Locking such a relationship or element collection generally locks only the rows in the join table

jakarta.persistence.EntityManager.isJoinedToTransaction()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isJoinedToTransaction() Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active. Returns: boolean. Since: Jakarta Persistence (JPA) 2.1

jakarta.persistence.MapKeyColumn.name

. If the map key is for a ManyToMany entity relationship or for a OneToMany entity relationship using a join table, the map key column is in a join table. If the map key is for a OneToMany entity relationship

jakarta.persistence.MapKeyColumn.table

entity relationship using a join table, the name of the join table for the map. If the map key

jakarta.persistence.criteria.Fetch.getAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Fetch Attribute getAttribute() Return the metamodel attribute corresponding to the fetch join . Returns: metamodel attribute for the join . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PrimaryKeyJoinColumn.referencedColumnName

Jakarta Persistence (JPA) Method in jakarta.persistence.PrimaryKeyJoinColumn String referencedColumnName (Optional) The name of the primary key column of the table being joined to. Defaults to the same name as the primary key column of the primary table of the superclass ( JOINED mapping strategy

jakarta.persistence.AssociationOverride.joinColumns

Jakarta Persistence (JPA) Method in jakarta.persistence.AssociationOverride JoinColumn[] joinColumns The join column(s) being mapped to the persistent attribute(s). The joinColumns elements ... . The joinColumns element must not be specified if a join table is used in the overriding of the mapping

jakarta.persistence.AssociationOverride.joinTable

Jakarta Persistence (JPA) Method in jakarta.persistence.AssociationOverride JoinTable joinTable The join table that maps the relationship. The joinTable element must be specified if a join table is used in the overriding of the mapping of the relationship. The joinTable element must not

jakarta.persistence.criteria.CriteriaBuilder.treat(CollectionJoin,Class)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CollectionJoin treat (    CollectionJoin join ,    Class type ) Downcast CollectionJoin object to the specified type. Parameters: join - CollectionJoin object type - type to be downcast to Returns

jakarta.persistence.FlushModeType

is unspecified. If there is no transaction active or the persistence context is not joined to the current

jakarta.persistence.Inheritance

is used. Example: @Entity @Inheritance(strategy = JOINED ) public class Customer { ... } @Entity public

jakarta.persistence.JoinColumns

Annotation Elements JoinColumn[] value The join columns that map the relationship. Since: Jakarta

jakarta.persistence.ManyToOne

annotation. Alternatively, an optional OneToOne association is sometimes mapped to a join table

jakarta.persistence.MapKeyJoinColumns

Annotation Elements MapKeyJoinColumn[] value (Required) The map key join columns that are used to map