Hi All,
I'm using Hibernate 3.0.2 and wondering how people are handling pagination?
I have a typical n-tierd application using Struts/Tiles on the front end,
a set of Manager classes for BL (might convert into Stateless session beans), DAO classes for HQL and DB beans for persistence.
I'm using the ThreadLocal Session pattern.
My transactions are managed at the Manager class level.
I was thinking of using a DetachedQuery to implement pagination of a result set.
Is this a good idea? Is there a better/more common way of implementing this with Hibernate 3.0.2?
Thanks,
-Ben
|