Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 77451 invoked from network); 13 Jan 2004 10:22:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Jan 2004 10:22:51 -0000 Received: (qmail 598 invoked by uid 500); 13 Jan 2004 10:22:21 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 585 invoked by uid 500); 13 Jan 2004 10:22:21 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 469 invoked from network); 13 Jan 2004 10:22:20 -0000 Received: from unknown (HELO mail.globaltech-bg.com) (195.24.36.102) by daedalus.apache.org with SMTP; 13 Jan 2004 10:22:20 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.globaltech-bg.com (Postfix) with ESMTP id 29B8813BA4 for ; Tue, 13 Jan 2004 08:22:44 -0200 (GMT+2) Received: from mail.globaltech-bg.com ([127.0.0.1]) by localhost (ns.globaltech-bg.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19844-08 for ; Tue, 13 Jan 2004 12:22:43 +0200 (EET) Received: from bogdan (unknown [192.168.11.105]) by mail.globaltech-bg.com (Postfix) with SMTP id 47FB813B96 for ; Tue, 13 Jan 2004 08:22:43 -0200 (GMT+2) Message-ID: <003b01c3d9bf$26788780$690ba8c0@int.globaltechbg.com> From: "Bogdan Vatkov" To: "TORQUE_LIST" Subject: LargeSelect problems Date: Tue, 13 Jan 2004 12:22:30 +0200 Organization: Global Communications Technologies MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0038_01C3D9CF.E9E718C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by F-Prot Antivirus at mail.globaltech-bg.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0038_01C3D9CF.E9E718C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =3D 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=20 java.util.ConcurrentModificationException when executing the getList() method. What I am missing?=20 Is there any tutorial for LargeSelect (a simple example of using this = class)? With best regards, Bogdan ------=_NextPart_000_0038_01C3D9CF.E9E718C0--