Home » Search

About DESC

31-37 of 37Refresh
Forum
2

In version 2.5.2_05 does not work greatest by Date

In earlier versions this query worked fine. In version 2.5.2_05 does not work .orderBy(cb.desc(cb.greatest(root.get("createDate").as(Date.class)))).distinct(true) Thank you for your help. Please try build 2.5.2_06 that should fix this regression (of casting to Date). galandor
Forum
2

java.lang.NullPointerException when using ORDER BY

We are using ObjectDB 2.5.1_04. The following query causes an internal null pointer exception: SELECT r FROM RecordingMetaData AS r WHERE ((r.mapToCli != '192.168.10.200:9085' AND r.callDirection == 0)) ORDER BY r.startDateTime DESC If we remove the ORDER BY part, the query completes OK
Forum
2

Query perfromance problem

Product prod order by prod." + sortColumn + " DESC";    }    icQuery = em.createQuery(q, Product
Forum
2

Speeding up reporting queries with size() on list

from Inspiration insp order by date(insp.lastModificationDate) desc insp.description is normal String
Issue
2

Strange Error with Criteria API and Sorting

We're creating a simple selection (distinct) including an order clause. When watching the created criteria in debugger we get the correct expression: SELECT DISTINCT $1 FROM MyEntity $1 WHERE ((TYPE($1)=class test.MyEntity)) ORDER BY UPPER($1.name) DESC You can see that in the order by
Issue
2

Null pointer exception being thrown from within ObjectDB.

))               )             ).             orderBy(cb.desc(r.get("objectDbId")));     TypedQuery query
Issue
2

Unexpected error when loading all entity instance

ChangeSet _changeSet where _changeSet.owner = ?1 order by _changeSet.index desc With the parameter ?1