Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A80898C9 for ; Sun, 14 Oct 2012 13:35:25 +0000 (UTC) Received: (qmail 43812 invoked by uid 500); 14 Oct 2012 13:35:24 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 43756 invoked by uid 500); 14 Oct 2012 13:35:24 -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 43749 invoked by uid 99); 14 Oct 2012 13:35:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Oct 2012 13:35:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of john.foreign@gmail.com designates 209.85.215.172 as permitted sender) Received: from [209.85.215.172] (HELO mail-ea0-f172.google.com) (209.85.215.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Oct 2012 13:35:18 +0000 Received: by mail-ea0-f172.google.com with SMTP id k13so935892eaa.31 for ; Sun, 14 Oct 2012 06:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=+a1yxEZx+ATyWhiEXIOoKFY9ytYIXUxyBw0f5sY7phA=; b=InQNG8vtrdZNjBkFb1Gxj3HeciYGbNYbY75yTtqtlQkoJPbE0rvmjByoEm2dxW8zAQ a8Hd38KgpO4WcAM0ONXD3rKe9SBgdWTahY1cOaOWCmEs1vsbZ2pTi/4cz2/aetTNFsCU qowpQC9ZCJQzDRyd06TT87Tj1PCntd7hr366x5073HriErYR9h/S5gjqgRfXvMithMpA Htohckm4EmYTDh96Cx6izCsgmDhdH/av7qCIBw5OP8k3uJXd9JatY/iSE276pE+u/40y ebP0oCpFWp4CDwTA+1fioYd/DhSNEsO7HJHFdGi0EC8eljqfxXMe7ZlgJK6sdVJnGGPq PcGA== Received: by 10.14.194.2 with SMTP id l2mr12506887een.12.1350221696968; Sun, 14 Oct 2012 06:34:56 -0700 (PDT) Received: from [192.168.1.101] (bzq-84-108-22-132.cablep.bezeqint.net. [84.108.22.132]) by mx.google.com with ESMTPS id z43sm1662420een.16.2012.10.14.06.34.54 (version=SSLv3 cipher=OTHER); Sun, 14 Oct 2012 06:34:56 -0700 (PDT) Message-ID: <507ABF7A.3050209@gmail.com> Date: Sun, 14 Oct 2012 15:34:50 +0200 From: John English User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: derby-user@db.apache.org Subject: Re: Getting transitive closure? References: <507AA78C.7050003@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 14/10/2012 14:45, Jos� Ventura wrote: > I might be mistaken, but I think Derby does not support this > out-of-the-box. There are, however, a few interesting solutions > suggested in this (2009) thread: > > http://old.nabble.com/Recursive-query-on-common-table-td25819772.html Thanks! I'm now in the process or recursively trying to construct the transitive closure of all the possible approaches that this page links to... :-) -- John English