Hi ,
This is a newbie architectural question.
l am interested in pagination problem discuss in this forum and scan all the topics post here and other places.
Assume l have a DAO method called findSecrets() , this function need to do security check using interceptor to know who is the user (is the user authorised ?) before the user can receive the large resultset and browse.
Since the return is a large resultset , l consider to use the Class
Page described in gavin's article "Pagination in Hibernate and EJB3" or valueList from
http://valuelist.sourceforge.net/ to do the paging , but both methods done the paging without a
named method or
using DAO (both methods done without a DAO), then how to do fine-grained method interception ?
Thanks.
moon