Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 2.1.7
Hi I'm running the current query which works fine...
Query q = hSession.createQuery("select count(log.artistID), log.artistID from StreamLog log group by log.artistID");
streamList = q.list();
But I would like to order my data by highest count desc. How would I go about this?
This is my actual MySQL query as well...
select count(artistid) as total, artistid from streamlog group by artistid order by total;