ObjectDB Database Search

101-150 of 200 results

"Problem" with cross join

. JOINED ) ... @ManyToOne private CI ci; subclass CIstring private String text; I am not sure ... fields in JOIN queries). Please try the new build (2.0.4_01) that should fix the bug. The attached

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

OR not working with isNull

INNER JOIN . This is a requirement of the JPA specification, which is known to cause some confusion. You have to use LEFT OUTER JOIN explicitly to cover entities with a null owner. support Support ... is probably converted to something such as: SELECT e FROM MyEntity e JOIN e.owner o WHERE o IS NULL

Fetching Collections Puzzle

;colletions are to be lazy fetched. You can try this in a query.  "select n from Node n left outer join fetch n.children where ....." this will also fetch your collection. Basically you can use

KEY() / VALUE() not recognized in JPQL??

Hi! Explorer says "unexpected token" on KEY(..: SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m WHERE (KEY(m) = 'deu' AND VALUE(m) LIKE '%Dr%') profile = embedded entity title = referenced entity name = Map   thanks, Alex quasado Alexander Adam Yes

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.FetchParent.fetch(String,JoinType)

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

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

;  SingularAttribute attribute ,    JoinType jt ) Create a fetch join to the specified single-valued attribute using the given join type. Parameters: jt - join type attribute - target of the join Returns: the resulting fetch join . Since: Jakarta Persistence (JPA) 1.0

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

;  PluralAttribute attribute ,    JoinType jt ) Create a fetch join to the specified collection-valued attribute using the given join type. Parameters: jt - join type attribute - target of the join Returns: the resulting join . Since: Jakarta Persistence (JPA) 1.0

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

joinCollection (    String attributeName ,    JoinType jt ) Create a join to the specified Collection -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

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

;  String attributeName ,    JoinType jt ) Create a join to the specified Set -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.From.joinList(String,JoinType)

;  String attributeName ,    JoinType jt ) Create a join to the specified List -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

Mapped by fields are not initialized by JOIN FETCH in queries

As demonstrated in this forum thread , a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). support Support   Build 2.4.1_06 fixes this issue (fields are now initialized

Issue with DISTINCT Select

.individual.IndividualContact $1 LEFT JOIN $1.profile $2 WHERE ((TYPE($1)=class com.quasado.foundation ... DISTINCT $1 FROM com.quasado.foundation.contact.individual.IndividualContact $1 LEFT JOIN $1.profile $2 ... : SELECT DISTINCT $1 FROM IndividualContact $1 LEFT JOIN $1.profile $2 ORDER BY UPPER($2.lastName) By

Query Execution Error

JOIN $1.mitgliedschaft $2 LEFT JOIN $2.abteilungen $3 LEFT JOIN $3.abteilung $4 WHERE (((NOT ((($2 ... FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.mitgliedschaft $2 LEFT JOIN $2.abteilungen $3 LEFT JOIN $3.abteilung $4 WHERE (((NOT ((($2 IS NOT NULL) AND ($3 IS NOT NULL

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 ... 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.CriteriaBuilder.union(CriteriaSelect,CriteriaSelect)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaSelect union (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the union of the given queries. Returns: a new criteria query which returns the union

jakarta.persistence.criteria.CriteriaBuilder.unionAll(CriteriaSelect,CriteriaSelect)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaSelect unionAll (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the union of the given queries, without elimination of duplicate results. Returns: a new

jakarta.persistence.criteria.CriteriaBuilder.intersect(CriteriaSelect,CriteriaSelect)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaSelect intersect (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the intersection of the given queries. Returns: a new criteria query which returns

jakarta.persistence.criteria.CriteriaBuilder.intersectAll(CriteriaSelect,CriteriaSelect)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaSelect intersectAll (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the intersection of the given queries, without elimination of duplicate results. Returns

jakarta.persistence.criteria.CriteriaQuery.orderBy(Order...)

order. The left -to-right sequence of the ordering expressions determines the precedence

jakarta.persistence.criteria.CriteriaBuilder.except(CriteriaSelect,CriteriaSelect)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaSelect except (    CriteriaSelect left ,    CriteriaSelect right ) Create a query by (setwise) subtraction of the second query from the first query. Returns: a new criteria query

jakarta.persistence.criteria.CriteriaBuilder.exceptAll(CriteriaSelect,CriteriaSelect)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaSelect exceptAll (    CriteriaSelect left ,    CriteriaSelect right ) Create a query by (setwise) subtraction of the second query from the first query, without elimination of duplicate

Different behavior for two equal queries

through null in one of the OR components. Navigation should be compiled as LEFT OUTER JOIN to avoid losing results in such cases, but maybe an ordinary JOIN was used in this query. Could you isolate the OR

ObjectDB 2.4.0

.1.1 web application (by catching unexpected exception). Fixed LEFT [ OUTER ] JOIN issues (including ... compilation of path expressions in queries. Fixed handling null  values in JOIN and path expressions in

ObjectDB 2.3.6

LEFT OUTER JOIN . Fixed GROUP BY DATE(...) - merging AM and PM into the same date.

ObjectDB 2.2.8

Fixed a critical bug in extensive removal operations of large objects. Improved the performance of navigation through an inverse (mapped by) field if the owner field is indexed. Fixed a LEFT OUTER JOIN bug . Fixed a bug in parsing queries with parenthesis followed by NOT . Fixed a bug in running

New issues with queries using build 2.7.8

Hello, we found another query bug: SELECT a FROM ArtifactImpl a LEFT OUTER JOIN a.tcSignal s  WHERE a.startStep.stepNumber = 0  AND (s.name IN ('In1') OR a.tcSignal IS NULL) With 2.7.6_b6 we get the expected three result objects. But with 2.8.0 we get only two result objects

Performance issue with query

Hello, we have an issue with following query which needs with objectdb-2.7.6_07 only 15 - 30 milli seconds, but since objectdb-2.7.6_08 the query needs round about 3000 ms. I added a database example in a ticket. SELECT a FROM ArtifactImpl a LEFT OUTER JOIN a.tcSignal s WHERE a.endStep.stepNumber = 2000 AND a.startStep.stepNumber

ObjectDB 2.8.1

Improved query plan evaluation (including for selecting composite indexes). Fixed new statistics collection for queries. Fixed a bug in LEFT OUTER JOIN queries ( issue #2438 ).

2.9.x query issue with @Unique constraint

(for LEFT OUTER JOIN ). [Step 4] Merge the results of steps 2, 3 using OR. [Step 5] Apply selection

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