2013-07-20 2 views
0

자바 초보자는 org.plasma.query.dsl.domainroot.orderby (dataproperty) 을 사용하고 있지만 정확한 답변을 제공하지 않습니다. 예org.plasma.query.OrderBy not working

Qxxx xxx = new Qxxx.newquery(); 
xxx.select(xxx.wildcard()); 
xxx.orderby(xxx.no_of_hates()); //orderby no_of_hates(datafields) 

또한 no_of_hates하여 정렬 된 순서로 XXX를 얻고위한이 쿼리 이

xxx.orderby(xxx.no_of_hates().desc()); 

하지만주는 잘못된 대답을했습니다.

답변