Return-Path: Delivered-To: apmail-db-ddlutils-user-archive@www.apache.org Received: (qmail 53848 invoked from network); 10 Jun 2008 02:45:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2008 02:45:53 -0000 Received: (qmail 96727 invoked by uid 500); 10 Jun 2008 02:45:55 -0000 Delivered-To: apmail-db-ddlutils-user-archive@db.apache.org Received: (qmail 96708 invoked by uid 500); 10 Jun 2008 02:45:55 -0000 Mailing-List: contact ddlutils-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-user@db.apache.org Delivered-To: mailing list ddlutils-user@db.apache.org Received: (qmail 96696 invoked by uid 99); 10 Jun 2008 02:45:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jun 2008 19:45:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tomdzk@gmail.com designates 209.85.198.238 as permitted sender) Received: from [209.85.198.238] (HELO rv-out-0506.google.com) (209.85.198.238) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 02:45:06 +0000 Received: by rv-out-0506.google.com with SMTP id f6so2282574rvb.55 for ; Mon, 09 Jun 2008 19:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SWRx+1S+k9fy9+p7TlEpNkHciKBbCrmW9Wxx5fVz1Yw=; b=lmqCEjR7auIx4SCaQJXPDKa2t4hvP+rmjJwNALlRxDzrcby+PQhZ6b9U6sK+4D1hbJ 8kc2k3XBrwu6lRmoCVf0QQP4tzZTqMCQc6hwFu36jNgKsM8uiRjuA4m48C17SJ1AClVc QcS8Hmeqo2R1JpLkS1EqsqNSFXE4rrenjFtvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=AEJMAHSCHRgzCarBNuejdz9Uq1Uvss3XNCuaQ92SKqMp5mPdbk/gQ+dgiQhlqlj10P 7L5kfS7SeGNakv9LYSs9HgKkAy0yF9nNORh4uk4ZAEGx4pSqoc9vHAIBVgpiZAMcw8yY xT3yR9jkAqXBNQI8JleG2SOu1M7ExfPMmjH6w= Received: by 10.141.75.17 with SMTP id c17mr2636358rvl.212.1213065923494; Mon, 09 Jun 2008 19:45:23 -0700 (PDT) Received: by 10.141.167.3 with HTTP; Mon, 9 Jun 2008 19:45:23 -0700 (PDT) Message-ID: <224f32340806091945y3dff43ffwd9aaf94c03b82e32@mail.gmail.com> Date: Mon, 9 Jun 2008 19:45:23 -0700 From: "Thomas Dudziak" To: ddlutils-user@db.apache.org Subject: Re: Inconsistency? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jun 9, 2008 at 4:24 AM, Rijk van Haaften wrote: > Is there a (good?) reason for this: > Table.findColumn(String) > Table.findIndex(String) > but > Table.findForeignKey(ForeignKey) The reason is that foreign keys are not required to have a name. However, you're right, there is no reason to not provide a findForeignKey method that takes a name for easier access to foreign keys that have a name (feel free to create a JIRA issue for this). Tom