Home » Search

About DESC

31-39 of 39Refresh
Forum
1

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
1

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
1

Query perfromance problem

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

Speeding up reporting queries with size() on list

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

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
1

Null pointer exception being thrown from within ObjectDB.

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

Unexpected error when loading all entity instance

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

Retrieve latest entry in a time-series

.date DESC Then you can run the query with a request to return the first result only:     return
Forum
1

how to create only table structure.

hi, I want to create only a table without insertions of data. And also table contains constraints like not_null, unique, primary key etc. Ex: (In sql) create table emp (id int(5) primary key, name varchar2(20)); , so it will create only table. when we want to see the table structure then "desc emp