Re: [Resin-interest] all my requested are limited with 3.2.1
Thanks a lot. If you know any workaround I'll be glad to apply it, because I'm using 3.2.1 in 2 applications that will soon be in production. Scott Ferguson wrote: > On Mar 28, 2009, at 5:21 PM, Riccardo Cohen wrote: > >> Hello >> I have a problem with all my ejb requests in resin pro 3.2.1 >> >> 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. > > I've filed this as http://bugs.caucho.com/view.php?id=3424 > > The 32 comes from an internal cache, but that cache should be > invisible to any users. > > -- Scott > >> >> 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 >> >> -- >> Riccardo Cohen >> Architecte du Logiciel >> http://www.architectedulogiciel.fr >> +33 (0)6.09.83.64.49 >> >> >> >> ___ >> resin-interest mailing list >> resin-interest@caucho.com >> http://maillist.caucho.com/mailman/listinfo/resin-interest > > > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > > -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] all my requested are limited with 3.2.1
On Mar 28, 2009, at 5:21 PM, Riccardo Cohen wrote: > Hello > I have a problem with all my ejb requests in resin pro 3.2.1 > > 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. I've filed this as http://bugs.caucho.com/view.php?id=3424 The 32 comes from an internal cache, but that cache should be invisible to any users. -- Scott > > > 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 > > -- > Riccardo Cohen > Architecte du Logiciel > http://www.architectedulogiciel.fr > +33 (0)6.09.83.64.49 > > > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] all my requested are limited with 3.2.1
Hello I have a problem with all my ejb requests in resin pro 3.2.1 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 -- Riccardo Cohen Architecte du Logiciel http://www.architectedulogiciel.fr +33 (0)6.09.83.64.49 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest