About ORDER BY

forum_thread

CriteriaBuilder createCriteriaUpdate are not executing

Regards all!! CriteriaBuilder createCriteriaUpdate are not executing. CriteriaUpdate<Order> criteriaUpdate = cb.createCriteriaUpdate(Order.class);   java.lang.UnsupportedOperationException at com.objectdb.jpa.criteria.CriteriaBuilderImpl.createCriteriaUpdate(CriteriaBuilderImpl.java:1502) What is the problem? ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

slow performance for a complex query

Hi, We have a query that is constructed dynamically, an example is like this: SELECT DISTINCT $1 FROM CDI $1, Organisation $2, Organisation $3 WHERE ((UPPER($1.cdiId) LIKE 'THREAD14%') AND ((($1.parentOrgId='news') OR (($1.parentOrgId=$2.organisationId) AND ($2.parentOrgId='news'))) OR ((($1.parentOrgId=$3.organisationId) AND ($3.parentOrgId=$2.organisationId)) AND ($2.parentOrgId='news')))) I've also tried running the CDI query first and passing the results into the organisation query as follows: ... subqueries are not supported by ObjectDB. Is there any other way to specify execution order of query ... like this, sometimes JOIN can only be implemented by nested full scan (and indexes cannot help). There are different ... query (if possible in your case) can also be simulated by running a first query and then sending the results of the first query as a ...

 
forum_thread

ObjectDB Clustering VS Hadoop Hbase

The Hbase is an open source distributed database on Hadoop, it is robust regardless of the performance problem. The ObjectDB cluster may be a distributed database, I guess. But I dont know whether it has only one entry, or each node has an entry. Could you please explain the difference between Hbase and ObjectDB clustering? TIA   ... master-slave cluster, in which WRITE requests are served by one master server and READ requests can be served by all the servers. All the servers in an ObjectDB cluster maintain a full copy ...

 
forum_thread

ObjectDB 2 has been released and is now more affordable

Today, after years of hard work, ObjectDB 2.0 was released and is available for download. In addition, in order to make ObjectDB more affordable, the pricing model was changed:... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
issue

JPA Query Criteria API (JPA 2.0)

The JPA Criteria API supports dynamic definition of JPQL queries using CriteriaBuilder as a factory. ObjectDB supports dynamic definition of JPQL queries as strings and expected to support also the new JPA 2 Criteria API in future versions.  ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Version 2.2.7 build 7/8 issue

Hi all, I have problems with builds 7 and 8 when trying to sort entities with mappedBy and my own method in query. This query "SELECT c FROM Customer c order by c.getNormalizedName()" returns List with null objects! With builds 6 and 5 works it correctly. Removing mappedBy from @OneToOne(mappedBy = "address") also helps. My code: ... in query. This query "SELECT c FROM Customer c order by c.getNormalizedName()" returns List with null objects! With builds 6 ... ( "SELECT c FROM Customer c order by c.getNormalizedName()" ) ; List resultList = query. ...

 
api-jdo

javax.jdo.JDOUserException

This class represents user errors that can possibly be retried.(Exception of JDO)

 
api-jdo

javax.jdo.JDOFatalException

This class represents exceptions that are fatal; that is, the condition that caused it cannot be bypassed even if the operation is retried.(Exception of JDO)

 
api-jdo

javax.jdo.JDONullIdentityException

An instance of this class is thrown when attempting to create an object id when the object id constructor parameter is null.(Exception of JDO)

 
api-jdo

javax.jdo.JDOFatalInternalException

This class represents errors in the implementation for which no user error handling is possible.(Exception of JDO)