AW: CriteriaEnumeration

2007-03-12 Thread Thoralf Rickert
process the first page of records. If you are interested, I created a small LargeSelectHelper class which allows you to continuously read one page at a time and let LargeSelect do the chunking. Sorry, I'm not sure, what you mean? Do you think, it would be better for the CriteriaEnumeration

Re: CriteriaEnumeration

2007-03-10 Thread Thomas Vandahl
Thoralf Rickert wrote: Hi! I'm not sure, if this was discussed before, but I want to send you this extension. Currently I'm working on somekind of backup-procedure that reads some data from a database and creates a complex XML file (for example: stores with addresses and products). To

CriteriaEnumeration

2007-03-09 Thread Thoralf Rickert
in a loop. In this way I can get 100 stores with one SELECT and do my work. If the pool is empty, I can read the next 100 stores. I've enclosed this generic algorithm in a class called CriteriaEnumeration: --- public class CriteriaEnumerationE implements java.util.Enumeration { private