Enhancement #335

Add ordering to query builder

Added by Gabriel Axel about 1 month ago. Updated about 1 month ago.

Status:Works for me Start:07/20/2010
Priority:Normal Due date:
Assigned to:Oliver Gierke % Done:

0%

Category:Core DAO Spent time: -
Target version:-

Description

Please add option for ordering in queries, maybe something like that: findByTitleOrderByName() = where title = ? order by name.

History

Updated by Oliver Gierke about 1 month ago

  • Status changed from New to Works for me

Hi Gabriel,

this should actually already work in the latest snapshots as I have implemented this for #274. The current implementation requires the ordering direction to be given (asc, desc). So if you'd like to see an enhancement that this is not necessary, feel free to open another ticket.

Also available in: Atom PDF