Home » Search

About DESC

11-20 of 39Refresh
JPA Doc
7

OrderBy.value

Annotation Element javax.persistence.OrderBy String value An orderby_list. Specified as follows: orderby_list::= orderby_item [,orderby_item]* orderby_item::= [property_or_field_name] [ASC | DESC] If ASC or DESC is not specified, ASC (ascending order) is assumed. If the ordering element
JPA Doc
5

javax.persistence.criteria.CriteriaBuilder

Order desc( Expression x) Create an ordering by the descending value of the expression. Create
Forum
4

100% CPU when using multiple BETWEEN

'2001' AND '2002'))) ORDER BY r.startDate DESC, r.startTime DESC, r.channelNumber DESC ... BY r.startDate DESC, r.startTime DESC, r.channelNumber DESC   In both cases we limit the result count
Forum
4

How to convert a boolean to an int in the query?

.2_04. but in the Explorer queries SELECT approveEmail FROM Person ORDER BY (int)approveEmail DESC and SELECT approveEmail FROM Person ORDER BY approveEmail DESC return different results. Query ... DESC works fine. Query SELECT approveEmail FROM Person ORDER BY (int)approveEmail + (int
Forum
4

Slow searching with two indexes

, like this: select from Thing where reference == :objectReference order by id desc  With the query ... : select from Thing where reference == :objectReference order by id desc when an index is defined ... : select from NmeaBatch where receiver == :r order by id desc Query Plan Description
Forum
4

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

-363f-4397-8553-cc5688ba142d') ORDER BY MAX($1.createDate) DESC   but this query returns ... ($1.createDate) DESC   entity object is: @Entity public class ChatHistoryItem extends ... ="desc(max(any(any($1.createDate))))">
Issue
4

Threaded Test - Failed to commit transaction: Unexpected internal exception

DESC, p.createTime When I run the test using this query is eventually grinds to a halt. No errors ... IdPoint p ORDER by p.priority DESC, p.createTime Because the objects in this test are large ... : Query q = em.createQuery( "SELECT p FROM IdPoint p ORDER by p.priority DESC, p.createTime
Forum
3

Accessiblity of attributes in entities in several OSGi-Bundles

desc; public void setDescription(String desc) { this.desc = desc
Forum
3

Cannot sort descending, when ordering by caluculated float in a method

...) select i from Invoice i order by i.getPrice() desc/asc it gives the same order for desc and asc ... .createQuery(             "SELECT i FROM Invoice i ORDER BY i.getPrice() DESC");         List resultList ... (); Query query = em.createQuery( "SELECT i FROM Invoice i ORDER BY i.getPrice() desc
Forum
3

Strange behaviour with ORDER BY and IN

l from Location l order by l.id desc", Location.class)             .getResultList().forEach(l ... Location l where l.id IN :ids order by l.id desc", Location.class)             .setParameter("ids ... .createQuery("select l from Location l where l.town IN :towns order by l.town desc", Location.class