 3 | ...) 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 |
 3 | 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 |
 2 | RecordingMetaData AS r ORDER BY r.startDate DESC, r.startTime DESC, r.channelNumber DESC
We limit |
 2 | .sku DESC"
,ProductData.class)
.setParameter("key", key)
.setParameter("id ... item.identifier id
WHERE item.sku = :key OR id = :id
ORDER BY item.sku DESC You may also try ... = :key OR item.apiId.identifier = :id
ORDER BY item.sku DESC lo |
 2 | from DateTime AS r ORDER BY r.startDate DESC, r.startTime DESC");
resultList = q ... .createQuery("SELECT r from DateTime AS r ORDER BY r.startDateTime DESC");
resultList = q |
 2 | .creationtime DESC"), this seems to work in ObjectDB, but fails with EclipseLink .. I really need ... by dv.creationtime DESC], line 1, column 98: unexpected token [:capabilities]. This is not |
 2 | (MomentPayload.class);
query.select(fromMomentPayload);
query.orderBy(cb.desc ... (MomentPayload.class);
query.select(fromMomentPayload);
query.orderBy(cb.desc |
 2 | the following using indexes:
SELECT m FROM Message m ORDER by priority DESC, createTime ... indexes with different ASC / DESC components will be supported in future versions |
 2 | BY ?1 DESC";
icQuery = em.createQuery(q, Branch.class);
icQuery.setParameter(1, "br.id ... Branch br ORDER BY br.id DESC";
icQuery = em.createQuery(q, Branch.class);
The problem |
 2 | within the System Description.
public static Program programByDescription(String desc)
{
for(Program p : allPrograms())
if(desc.contains(p.getDescription()))
return p;
return null |