Identity identity = new Identity(fk.getForeignTableName(), getFKName(owningTable, fk));
Identity identity = new Identity(fk.getForeignTable(), getFKName(owningTable, fk));
    private Identity buildIdentityFromFK(Table owningTable, ForeignKey fk, DynaBean bean)    {        Identity identity = new Identity(fk.getForeignTableName(), getFKName(owningTable, fk));        for (int idx = 0; idx < fk.getReferenceCount(); idx++)        {            Reference reference = (Reference)fk.getReference(idx);            Object    value     = bean.get(reference.getLocalColumnName());            if (value == null)            {                return null;            }            identity.setIdentityColumn(reference.getForeignColumnName(), value);        }        return identity;    }