You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by the666pack <ma...@gmail.com> on 2008/03/24 12:50:47 UTC

setMaxResults()

hello,

geronimo version: 2.1

the function "setMaxResults()" seems not to work fine. in my application i
first execute an select query then try to limit the returned values via
query.setMaxResults(10). after this i loop through the results list (which i
got via query.getResultList()) and update some fields. unfortunately all the
results of the Select query are updated, not just the ones selected by
"query.setMaxResults()". This was working fine before in Geronimo 2.0.2
-- 
View this message in context: http://www.nabble.com/setMaxResults%28%29-tp16249488s134p16249488.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.