db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Braeuchi <jbraeu...@gmx.ch>
Subject Re: Query result limit
Date Wed, 08 Sep 2004 16:44:54 GMT
hi vikram,

use Query#setStartAtIndex and Query#setEndAtIndex

hth
jakob

Vikram Rai schrieb:
> Hi all,
> 
> I wanted to know if there is any way in which we could restrict an OJB query 
> result size to a particular number. I know Hibernate has properties though 
> which we can tweak the result-set size.
> 
> Right now i'm running into nasty performance problems as my application runs 
> queries returning huge result-sets. I would really like to set some upper limit 
> on my query result size. 
> 
> Thanks and regards,
> Vikram.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message