Hi everyone,

My question is related to the volume of information OJB retrieves from DB in several ways:

1) When I retrieve any object using getCollectionByQuery(), how many records are retrieved? Are all the records found in the database?

2) If I use getIteratorByQuery(), how many records are retrieved at a time, only one by one?

3) If in the query I use query.setStartAtIndex(X) and query.setEndAtIndex(Y), can I be sure that only records from X to Y are retrieved, which are a count of Y-X? (Maybe JDBC method 'setMaxRows' is used somewhere)

4) If I set proxy-prefetching-limit to X, can I be sure that only X records are retrieved from DB, even if I use a proxy? How and when does OJB retrieve the rest of the records?

Thanks in advance,
Enrique Medina.

_________________________________________________________________
�D�nde se esconden [EMAIL PROTECTED] [EMAIL PROTECTED] Encuentra miles de perfiles en MSN Amor & Amistad. http://match.msn.es/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to