ObjectDB Database Search

151-200 of 200 results

find repeated records by JPQL

in #1 contains GROUP BY / HAVING. The outer query in #1 contains the IN operator. The query in # 3 ... a parameter argument for the second outer query. support Support You may try splitting the query ... argument for the second outer query. Your suggestion is not feasible. I want to get a list of extinct

How to convert a boolean to an int in the query?

DISTINCT m FROM Person m LEFT OUTER JOIN m.answers answers LEFT OUTER JOIN answers.persons likedPersons

@OneToOne query issue with OR and IS NULL

the WHERE clause. Try LEFT OUTER JOIN : SELECT a FROM A a LEFT JOIN a.another b WHERE a.another IS NULL OR b

Query execution time issue

inner join e.person person inner join person.address address left join address.place addressPlace left join address.city addressCity left join address.county addressCounty left join person.birthPlace birthPlace left join person.birthCounty birthCounty left join person.citizenship citizenship left

problem using macbook with M1 chip?

;   Inner classes:     [inner class info: # 3 com/objectdb/o/UNM$f, outer class info ... ; // Stack: 3 , Locals: 1   UNM();     0  aload_0 [this]     1  ... .UNM$f [ 3 ]     4  areturn       Line numbers:        

Fetching Collections Puzzle

;colletions are to be lazy fetched. You can try this in a query.  "select n from Node n left outer

OR not working with isNull

. You have to use LEFT OUTER JOIN explicitly to cover entities with a null owner. support Support

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

Query with FETCH JOIN returns multiple results instead of one.

is clear: SELECT d FROM Department d LEFT JOIN FETCH d.employees WHERE d.deptno = 1 "A fetch join has the same join semantics as the corresponding inner or outer join, except that the related objects

find() cost unreasonable time!

child : 2 child : 3 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 2 : type:Nodes, sons:2 child : 4 child : 5 Iterator time @ 0.000000 find time @ 0.000000 getSons time @ 0.000000 3 ... ){    Nodes cur = queue.pop();    Nodes left = new Nodes();    left .setParent

Problem with distinct select, order by and equivalent alias/attribute path

Location("2", "B"),         new Location(" 3 ", "C")    ... ; + " left join s.location as s_location "            ... ; + " left join s.location as s_location "           

slow performance for a complex query

FROM CDI $1, Organisation $2, Organisation $ 3 WHERE ((UPPER($1.cdiId) LIKE 'THREAD14%') AND ((($1 ... .parentOrgId=$ 3 .organisationId) AND ($ 3 .parentOrgId=$2.organisationId)) AND ($2.parentOrgId='news ... follows: SELECT DISTINCT $1 FROM CDI $1, Organisation $2, Organisation $ 3 WHERE (($1.id IN :cdiids

Schema migration - long to String

] Page #466191 entry 3 has unexpected value for field affiID   pl.hplxtool.model ... ) and there was no schema in the left panel. After repairing from this state with doctor, almost 53k records was gone from database - only about 3k left . My assumption is, that database schema was migrated

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 String getAlias () Return the alias assigned

jakarta.persistence.Column

public String getDescription() { return description; } Example 3 : @Column(name = "ORDER_COST", updatable ... , and is not portable across databases. Default: "" Since: Jakarta Persistence (JPA) 3 .2 String table ... driver should be stored in a timestamp column. Default: -1 Since: Jakarta Persistence (JPA) 3 .2

Issue with DISTINCT Select

$ 3 LEFT JOIN $1.profile $2 ORDER BY TEST results in the "TEST" column containing always "Mitglied ... expression '$ 3 ' for distinct results at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.QNF.l(QNF ... any variable named $ 3 !!! And even worse.. when debugging in eclipse which calls the .toString

jakarta.persistence.JoinTable

Persistence (JPA) 3 .2 String comment (Optional) A comment to be applied to the table. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3 .2 String options ... . This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK

jakarta.persistence.JoinColumn

: "" Since: Jakarta Persistence (JPA) 3 .2 String table (Optional) The name of the table that contains ... if table generation is in effect. Default: {} Since: Jakarta Persistence (JPA) 3 .2 String comment ... . Default: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java.lang

jakarta.persistence.SecondaryTable

: {} Since: Jakarta Persistence (JPA) 3 .2 String comment (Optional) A comment to be applied ... ) 3 .2 String options (Optional) A SQL fragment appended to the generated DDL statement which creates ... Persistence (JPA) 3 .2 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang

jakarta.persistence.Table

: {} Since: Jakarta Persistence (JPA) 3 .2 String comment (Optional) A comment to be applied to the table. This is only used if table generation is in effect. Default: "" Since: Jakarta Persistence (JPA) 3 .2 ... (JPA) 3 .2 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang.annotation

jakarta.persistence.NamedNativeQuery

: {} Since: Jakarta Persistence (JPA) 3 .2 ConstructorResult[] classes Specifies the result set mapping to constructors ... ) 3 .2 ColumnResult[] columns Specifies the result set mapping to scalar values. May not be used in combination with resultSetMapping . Default: {} Since: Jakarta Persistence (JPA) 3 .2 Additional JDK

Issue with UPPER ?

($1) FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.mitgliedschaft $2 LEFT JOIN $1.profile $ 3 LEFT JOIN $ 3 .organisation $4 LEFT JOIN $1.postalAddresses $5 LEFT JOIN $1 ... ($ 3 ) instances   (for every result of step 1

jakarta.persistence.MapKeyJoinColumn

; ... } Example 3 : @Entity public class Student { @Id int studentId; ... @ManyToMany // students and courses ... . Default: "" Since: Jakarta Persistence (JPA) 3 .2 String table (Optional) The name of the table

jakarta.persistence.EntityTransaction

(JPA) 3 .2 boolean isActive () Indicate whether a resource transaction is in progress. Returns ... that the database server should set the timeout Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.criteria.AbstractQuery

Persistence (JPA) 3 .2 boolean isDistinct () Return whether duplicate query results must be eliminated or ... removed. Parameters: restrictions - a list of zero or more restriction predicates Returns: the modified query. Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.CheckConstraint

is in effect. See Also: Table.check() Column.check() Since: Jakarta Persistence (JPA) 3 .2 Annotation ... ) 3 .2 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang.annotation

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

Internal Exception

.lexware.vereinsverwaltung.abrechnung.beitrag.BeitragForderung $1 LEFT JOIN $1.currency $2 LEFT JOIN $1.paymentTerm $ 3 LEFT JOIN $1.receiver $4 WHERE ((((($2 IS NOT NULL) AND (UPPER($2.isoCode) LIKE UPPER('%Meier%'))) OR (($ 3 IS NOT NULL) AND (UPPER($ 3 .description) LIKE UPPER('%Meier%'))) OR (UPPER($1

combined index not used

.properties.doubleValue FROM Action a WHERE a.type = 0 and a.subType = 3 and a.state = 3 and a.endDate = ?1 ... . [Step 1d] Filter the results of step 1c retaining only results that satisfy: (a.state= 3 ). [Step 1e] Filter the results of step 1d retaining only results that satisfy: (a.subType= 3 ). [Step 1f] Filter

jakarta.persistence.PersistenceUnitTransactionType

via the EntityTransaction interface. Since: Jakarta Persistence (JPA) 3 .2 Enum Constants JTA

jakarta.persistence.Index

: "" Since: Jakarta Persistence (JPA) 3 .2 Additional JDK methods inherited from java.lang.annotation

jakarta.persistence.ForeignKey

Persistence (JPA) 3 .2 Additional JDK methods inherited from java.lang.annotation.Annotation java.lang

jakarta.persistence.LockOption

. See Also: LockModeType PessimisticLockScope Timeout EntityManager.lock(Object, LockModeType, LockOption...) Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.MapKeyColumn

. May not be used in conjunction with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.MapKeyClass

; ... } Example 3 : @Entity public class Company { @Id int id; ... @OneToMany(targetEntity = com

jakarta.persistence.ManyToMany

, mappedBy = "phones") public Set getCustomers() { return customers; } Example 3 : // In Customer class

jakarta.persistence.Convert

; } Example 3 : Disable conversion in the presence of an autoapply converter @Convert

jakarta.persistence.ConnectionConsumer

EntityManager.runWithConnection(ConnectionConsumer) Since: Jakarta Persistence (JPA) 3 .2 Public Instance

jakarta.persistence.ConnectionFunction

EntityManager.callWithConnection(ConnectionFunction) Since: Jakarta Persistence (JPA) 3 .2 Public

jakarta.persistence.Embeddable

PhoneServiceProvider { @Id protected String name; ... } Example 3 : @Embeddable public class Address { protected

jakarta.persistence.DiscriminatorColumn

with columnDefinition . Default: "" Since: Jakarta Persistence (JPA) 3 .2 int length (Optional) The column length

jakarta.persistence.EntityResult

by the SQL query. Default: LockModeType.OPTIMISTIC Since: Jakarta Persistence (JPA) 3 .2 FieldResult

jakarta.persistence.FindOption

Timeout EntityManager.find(Class, Object, FindOption...) EntityManager.find(EntityGraph, Object, FindOption...) Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.EnumeratedValue

(JPA) 3 .2 Annotation Elements This is a marker annotation with no members/elements. Additional JDK

jakarta.persistence.criteria.Nulls

(Expression, Nulls) CriteriaBuilder.desc(Expression, Nulls) Since: Jakarta Persistence (JPA) 3 .2 Enum

jakarta.persistence.criteria.Order

: the precedence of null values . Since: Jakarta Persistence (JPA) 3 .2 boolean isAscending

jakarta.persistence.criteria.TemporalField

. See Also: LocalDateField LocalTimeField LocalDateTimeField CriteriaBuilder.extract(TemporalField, Expression) Since: Jakarta Persistence (JPA) 3 .2