ObjectDB Database Search

1-50 of 95 results

FROM clause (JPQL / Criteria API)

phase avoids a full iteration over the Cartesian product. [INNER] JOIN As discussed above, range ... an additional type of identification variable, a join variable, which represents a more limited iteration over specified collections of objects. The following query uses one range variable and one join

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

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

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Join Join 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

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

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Join Join 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

jakarta.persistence.criteria.Join.getAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Join Attribute getAttribute() Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Returns: metamodel attribute or null. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Join.getParent()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Join From getParent() Return the parent of the join . Returns: join parent. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Join.getJoinType()

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

jakarta.persistence.criteria.Join.getOn()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Join Predicate getOn() Return the predicate that corresponds to the ON restriction(s) on the join , or null if no ON condition has been specified. Returns: the ON restriction predicate. Since: Jakarta Persistence (JPA) 2.1

LEFT JOIN FETCH over empty embedded collection returns no results

First of all, thank you for promptly implementing JOIN FETCH over nested paths in response ... , but I attempt to LEFT JOIN FETCH all the members of a collection within a (non-existent) member ... works (returns my instance of C): SELECT c FROM C c LEFT JOIN FETCH c.bList WHERE id=:id; But if I

Possible issue for JPQL "LEFT [OUTER] JOIN"

Possible issue for JPQL "LEFT [OUTER] JOIN " is doing "[INNER] JOIN ".   Thanks. eurojet P. F ... ;   - "SELECT a,b FROM A a LEFT OUTER JOIN a.listB b WHERE b IS NULL" where the output ... -valued field.     - "SELECT a,b FROM A a LEFT OUTER JOIN a.listB b WHERE b.id IS NULL

Join query problem with new statetment

when using query with join . The query code is: TypedQuery inspirationQuery = em.createQuery(    ... Inspiration insp join insp.products p where (p.supplier = ?1)",      ... ) from Inspiration insp join insp.products p where (p.supplier = ?1)", InspirationsPerSupplierResult

joining of tables

Hi In objectdb site i found : Note: This ORM/SQL annotation is silently ignored by ObjectDB so i want   join tow table and generate a third table. Ex:  table 1: employee    table 2: address  and the generate table will be table 3: emp_add employee: e_id, e_name address: add

Join performance in Objectdb

, executing the JOIN may require iteration over 160,000 x 160,000 x 160,000 tuples. The following test

jakarta.persistence.JoinColumn

: Annotation Target: Method, Field Specifies a column for joining an entity association or element collection. If the JoinColumn annotation itself is defaulted, a single join column is assumed ... Customer class @OneToMany @JoinColumn(name = "CUST_ID") // join column is in the table for Order

jakarta.persistence.MapKeyJoinColumn

key join column is in the collection table, join table, or table of the target entity that is used to represent the map. If no MapKeyJoinColumn annotation is specified, a single join column is assumed ... upon the context. If the join is for a map key for an element collection, the foreign key column is in

jakarta.persistence.EntityManager

manager is joined to an active transaction, the persistence context remains managed ... if invoked on an entity manager which has not been joined to the current transaction and a lock mode ... if invoked on an entity manager which has not been joined to the current transaction and a lock mode

SELECT clause (JPQL / Criteria API)

directly. However, you can add their content to the SELECT clause by using a bound JOIN variable in

jakarta.persistence.JoinTable

: Annotation Target: Method, Field Specifies the mapping of an association to an intermediate join table. It is applied to the owning side of an association. A join table is typically used in the mapping ... , and one-to-one associations (both bidirectional and unidirectional). When a join table is used in mapping

jakarta.persistence.MapKeyColumn

. 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 ... is for a OneToMany or ManyToMany entity relationship using a join table, the name of the join table

jakarta.persistence.ManyToMany

, mapping to an intermediate table called the join table . Every many-to-many association has two sides, the owning side and the non-owning, or inverse, side. The join table is specified on the owning ... the relationship field or property of the owning side. The join table for the relationship, if not defaulted

Issue with full cross joins

hi, There seems to be an issue with full cross joins & maps. This query: SELECT  $1 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied  $1 LEFT JOIN $1.qubletFRAGMENTMAP $4,   ... Alexander Adam It seems that simple iteration on map values in JOIN has not been implemented and a map

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

;  String attributeName ,    JoinType jt ) Create a join to the specified Map -valued attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting join . Throws: IllegalArgumentException

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.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 ... rows. A join is used to retrieve the state of such entities. Since: Jakarta Persistence (JPA) 1.0

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

Persistence (JPA) 1.0 Annotation Elements JoinColumn[] value The join columns that map the relationship

jakarta.persistence.ManyToOne

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

jakarta.persistence.MapKeyJoinColumns

(JPA) 2.0 Annotation Elements MapKeyJoinColumn[] value (Required) The map key join columns

jakarta.persistence.Entity

the associated entity , and a many-to-many association usually maps to a join table . Every entity

jakarta.persistence.DiscriminatorColumn

Jakarta Persistence (JPA) Annotation Type jakarta.persistence.DiscriminatorColumn Implemented Interfaces: Annotation Target: Type Specifies the discriminator column for the SINGLE_TABLE and JOINED inheritance mapping strategies . The mapping strategy and discriminator column are only specified

jakarta.persistence.EntityNotFoundException

and the persistence context has been joined to it, will be marked for rollback. See Also: EntityManager

jakarta.persistence.EntityExistsException

, if one is active and the persistence context has been joined to it, will be marked for rollback