geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From the666pack <>
Subject setMaxResults()
Date Mon, 24 Mar 2008 11:50:47 GMT


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:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message