ObjectDB Database Search

1-9 of 9 results

jakarta.persistence.criteria.CriteriaBuilder.desc(Expression)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order desc (    Expression expression ) Create an ordering by the descending value of the expression. Parameters: expression - expression used to define the ordering Returns: descending ordering

jakarta.persistence.criteria.CriteriaBuilder.desc(Expression,Nulls)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order desc (    Expression expression ,    Nulls nullPrecedence ) Create an ordering by the descending value of the expression. Parameters: expression - expression used to define the ordering

FROM clause (JPQL / Criteria API)

, CURRENT_TIME, CURRENT_TIMESTAMP,DELETE, DESC , DISTINCT, ELSE, EMPTY, END, ENTRY, ESCAPE, EXISTS, FALSE

jakarta.persistence.Index

::= column_name [ASC | DESC ] If neither ASC nor DESC is not specified, ASC , that is, ascending order

Speeding up reporting queries with size() on list

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

how to create only table structure.

then " desc emp;"  it will show the structure of table. Bimal Bimal kumar dalei ObjectDB is not

NPE at com.objectdb.jpa.JpaQuery.getResultList

= query.from(MomentPayload.class); query.select(fromMomentPayload); query.orderBy(cb. desc ... ; query.orderBy(cb. desc (fromMomentPayload.get("dateTime")));        

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

combined index not used

.parentNode.classIdentifier = "(ME)" order by o.parentNode.modified desc database can be downloaded