Hi All,
I have the following code snipplet..
public List getList() {
try {
return VpbxPeer.populateObjects(businessObjectList);
} catch (Exception e) {
logError(e);
return null;
}
}
private void LoadLargeSelect(Criteria parameter) {
largeSelect = new LargeSelect(parameter, PAGE_SIZE, PAGES_FETCH_COUNT);
largeSelect.run();
try {
largeSelect.getNextResults();
} catch (Exception e) {
logError(e);
}
}
Problem1:
After executing LoadLargeSelect() and one of the getNext/PreviuosResults methods i
have the rows doubled in my list..i've checked the debug prints of the LargeSelect
..its rowcount is doubled itself.
- what i am doing wrong ? what might be the reason for this row duplication.
Problem2:
Too often (i use the code above in a JSP/Servlet environment) i get the
java.util.ConcurrentModificationException
when executing the getList() method.
What I am missing?
Is there any tutorial for LargeSelect (a simple example of using this class)?
With best regards,
Bogdan