[jboss-user] [JBoss Seam] - Re: EntityQuery by Extension wrong maxResults

dajevtic do-not-reply at jboss.com
Fri Jun 1 09:48:35 EDT 2007


Wait! No good :-(
I am using CVS20070531 and the code alredy states:

  | protected List truncResultList(List results)
  |    {
  |       Integer mr = getMaxResults();
  |       if ( mr!=null && results.size() > mr )
  |       {
  |          return results.subList(0, mr);
  |       }
  |       else
  |       {
  |          return results;
  |       }
  |    }
  | 

Any idea what else could be causing the problem?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050492#4050492

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050492



More information about the jboss-user mailing list