Announcement Announcement Module
Collapse
No announcement yet.
Hibernate criteria [select distinct order by] Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hibernate criteria [select distinct order by]

    Hi,
    how to implement in hibernate criteria sql query like (i.e.):
    select distinct on (id) * FROM clock WHERE group='old' ORDER BY id, time;
    ?
    Distinct is only on 'id' parameter, but before distinct data is sorted by time.
    Thx.
Working...
X