Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 7504 invoked from network); 20 Oct 2005 20:04:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2005 20:04:58 -0000 Received: (qmail 26686 invoked by uid 500); 20 Oct 2005 20:04:57 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 26666 invoked by uid 500); 20 Oct 2005 20:04:57 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 26655 invoked by uid 99); 20 Oct 2005 20:04:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Oct 2005 13:04:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.169.169.18] (HELO mail.OIT.DocFinity.com) (216.169.169.18) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 20 Oct 2005 13:04:56 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Error 38000 with a stack overflow on recordset.next()? Date: Thu, 20 Oct 2005 16:04:34 -0400 Message-ID: <411004C89F48004A9B41C341A515E7BA01A3D176@mail.oit.docfinity.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error 38000 with a stack overflow on recordset.next()? Thread-Index: AcXVqqetL7qnPSvwTXireNkVVCUZiwABqhnw From: "Daniel Skiles" To: "Derby Discussion" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -----Original Message----- From: Jeffrey Lichtman [mailto:swazoo@rcn.com]=20 Sent: Thursday, October 20, 2005 3:15 PM To: Derby Discussion Subject: RE: Error 38000 with a stack overflow on recordset.next()? Here's a potential workaround for your problem. I suspect it will=20 work, but I'm not sure: SELECT path from filesystemfiles where not exists (select * from existingfiles where existingfiles.path =3D=20 filesystemfiles.path) The query does the same thing as your original one with "not in", but=20 I suspect Derby will not try to use the in-memory optimization I=20 mentioned in my previous mail. Jeff, That works perfectly. Thanks for the help. Daniel