users@glassfish.java.net

Glassfish 3.1 & JPA SetMaxResults

From: <forums_at_java.net>
Date: Sat, 8 Oct 2011 10:49:12 -0500 (CDT)

I have something weird happening with Glassfish 3.1. I am using JPA , and
trying to setMaxResults() to 1000 for most of our search queries. This works
like a charm on my local machine but the moment we put it on our Test servers
(RHEL4) , the setMaxResults seems to be ignored, and we get back more than
1000 results. Both the builds are exactly same (Glassfish 3.1 build 43). 
Does anyone know of any solution to this issue?

 


--
[Message sent by forum member 'rdarbh']
View Post: http://forums.java.net/node/851542