arrrrggg. I just recognized this. I didn't finish the implementation for report queries because I had never used them and didn't really know what they did. I'll look at finishing this functionality tonight.
sorry about that. m -----Original Message----- From: Thomas Mahler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 1:58 PM To: OJB Users List Subject: Re: Broker Usage and query.startAtIndex/endAtIndex problems Hi again! Phase Web and Multimedia wrote: > Greetings, > > I have been using OJB for some time with the singlevm implementation of the > PB. I have several webapps that are running in a virtual hosting environment > each app is running in its own vm. I am using Tomcat 4.0.4 and have OJB > instances running in a single context in each host. So each exists within > its own classpath and do not overlap. My question however is that I have > recently attempted to upgrade to 9.0.7 and the upgrade produced exceptions I > was wondering if I am using the right PB for the job. It has worked under > sizeable loads with no problem. But, if I should be running something more > efficient then it would be all the better. Any information will be > appreciated. > > Here is the config in my OJB.properties: > > #--------------------------------------------------------------------------- > ------------- > # PersistenceBrokerFactory / PersistenceBroker > #--------------------------------------------------------------------------- > ------------- > PersistenceBrokerFactoryClass=org.apache.ojb.broker.ta.PersistenceBrokerFact > oryDefaultImpl > PersistenceBrokerClass=org.apache.ojb.broker.singlevm.PersistenceBrokerImpl > YOur configuration seems to be 100% OK! > I have also recently attempted to use the > ReportQueryByCriteria.setStartAtIndex(int x) and > ReportQueryByCriteria.setEndAtIndex(int x) in concert with a > broker.getReportQueryIteratorByQuery(query). The results are not reduced. > But rather the whole result is returned. Is this a bug or intentional? > Mh, I don't know if this feature works for ReportQueries too. Please try a "normal" query that fills a collection. cheers, Thomas > Thanks, > Brandon Goodin > Phase Web and Multimedia > P (406) 862-2245 > F (406) 862-0354 > [EMAIL PROTECTED] > http://www.phase.ws > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>