db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak" <tom...@gmail.com>
Subject Re: Inconsistency?
Date Tue, 10 Jun 2008 02:45:23 GMT
On Mon, Jun 9, 2008 at 4:24 AM, Rijk van Haaften
<r.j.c.vanhaaften@gmail.com> 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).


View raw message