When using DataView/IDataProvider size() is called before iterator(int first, 
int count) causing calls to DAOs to be duplicated. Our current framework that 
is internally using Hibernate allows one call to be made to a DAO that returns 
both the total result size and the actual records (based off first/count). The 
problem is that the first and count are unknown until the iterator method is 
called- forcing multiple calls to the DAO to retrieve the data (also forcing 
multiple transactions). What are the reasons behind calling size before 
iterator?


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

Reply via email to