Hey there,
I want to execute a simple sql-count-query with a "group by" statement
and display the result in a html-table...
something like:
session = HibernateUtil.getSessionFactory().getCurrentSession();
session.beginTransaction();
String SQL_QUERY = "SELECT COUNT(*),Date FROM Person Group
By Date";
Query query = session.createQuery(SQL_QUERY);
What is the best way to manage that, not using too much fancy stuff...?
Cheers B
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]