Mantis - Resin
Viewing Issue Advanced Details
3424 minor always 03-30-09 09:29 08-25-09 19:17
ferg  
ferg  
normal  
closed 3.2.1  
fixed  
none    
none 4.0.2  
0003424: Amber query limits
(rep by Riccardo Cohen)
When I execute this :

Query hqr=m_manager.createQuery("select h from Adluser h order by h.id");
hqr.setFirstResult(numstart);
hqr.setMaxResults(numcnt);

I have the good result (starts at numstart, and get numcnt items)
But when I do not set the limits :

Query hqr=m_manager.createQuery("select h from Adluser h order by h.id");

I have only 32 results whatever you have in the database.

This appeared only from 3,2,1 because I do not have this problem with
3.2.0.

Am I doing something wrong ?
Thanks for any help.

PS: I went to 3.2.1 because I had problems with scheduled-task in 3,2.0


Notes
(0004159)
ferg   
08-25-09 19:17   
jpa/1436