Wicketopia has an example application that does what you want.  The
HomePage (which shows a sortable table) is here:

https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/example/src/main/java/org/wicketopia/example/web/page/HomePage.java


On Thu, Oct 9, 2008 at 4:41 PM, Björn-Peter Tietjens <[EMAIL PROTECTED]> wrote:
> 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]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to