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

pampam do-not-reply at jboss.com
Fri Jun 1 09:36:17 EDT 2007


There seams to be a bug in the query class.

truncResultList returns (maxResults-1) items at the moment 

return results.subList(0, mr-1)
should be
return results.subList(0, mr)

Regards, 
Robert

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

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



More information about the jboss-user mailing list