About in

161-170 of 200Refresh
Forum
13

JPQL query to get entities that does not have a child entity in their child entities

JobEntity J, IN(J.statuses) JS WHERE " +     "J.startTime >=:timeStampBefore AND J.startTime ... ( name = "findCanceledJobsBetweenTimeIntervals",   query = "SELECT J FROM JobEntity J, IN(J ... : @NamedQuery( name = "findFailedJobsBetweenTimeIntervals",   query = "SELECT J FROM JobEntity J, IN(J
Forum
13

Multi selection and distinct in a criteria query

relevant examples in the manual.   Ok yes I am aware of that sorry ;) What I was trying to say.. how can I restrict the DISTINCT to the first selection element in my tuple selection only? I.e. I don't ... without troubles)   Alex I am afraid it is not supported neither in JPQL nor in criteria queries
Forum
13

ObjectDB Enhancer Tool in Java 9

location, which is not valid in a Java module environment. Example command: java -Dobjectdb.conf ... .main(Enhancer.java:32) Exception in thread "main" java.lang.ExceptionInInitializerError at com ... :32) Caused by: com.objectdb.o.UserException: Invalid configuration in 'internal' - Check
Forum
13

Possible issue for JPQL IN expression

Possible issue for JPQL IN expression with a set of more than one string literals values in the path expression. Error: Exception in thread "main" [ObjectDB 2.3.7_10] SELECT e FROM MyEntity e WHERE e.country IN ('US' ==> , <==  'SP', 'UK') javax.persistence.PersistenceException Unexpected query
Forum
13

removed objects stay with null field values in the reference

(); When we remove an object that is in this relationship (workflow), the object stays in ... , in addition to deleting it. However, if the set is defined as mapped by, it will be updated ... is still in the database and loaded by a subsequent lazy loading ? No, after deleting an object it does not
Forum
13

remove & persist in same transaction => Attempt to reuse an existing primary key value

Hello Support, in our configuration (FlushModeType.AUTO) is the execution of  em.find(Entity.class ... to the existing otherwise we create it.   Now we got the problem that we try to do two thinks in the same ... .   Is it expected that the commands not executed in the order they are pushed to the context or
Forum
13

Bug with unique constraint exception not resulting in transaction roll back

I'm using ObjectDB 2.5.6_02 and running into a bug with a JDO @Unique constraint.  I'm using JPA in ... both entities. This could happen if the operation is spread over more than one transaction. In a managed environment, in which transactions are started and committed by the application server and not
Forum
13

Calendar in Criteria Querys

got such methods, but i dont know how to use those in my query. JPA supports 3 temporal types: java ... = Calendar.getInstance();         }     } } Notice that Calendar values are stored in this example ... your example I get the folling error: Exception in thread "main" [ObjectDB 2.3.4] Unexpected exception
Forum
13

Entity Type is not found (error 301) in Query

, EclipseLink For ObjectDB there is one query in following method, where the full qualified class ... .checkConstraints(User.java:11 This behaviour is very strange, because in the same method - other workflow ... class is not in the database yet (no instances of that class have been persisted
Forum
13

Handling "is null" in where clause

" queries. When you use "is null" in where clause, query runs correctly, but results are incorrect. Let ... for this problem. Thank you for this bug report and for the useful test program. There was a bug in a query optimization that is applied to String and numeric fields, so null values in an Integer