[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [dtp-dev] Self-referencing Column Definition
|
Thanks Anthos,
Do you know if the algorithm below is actually correct?
Rob
> You may even add a convenience method like
>
> public boolean isSelfRefColumn();
>
> Regards
> Anthos
> rcernich@xxxxxxxxxx wrote:
>
> >Hey guys,
> >
> >I was wondering how one would identify a self-referencing column within
the
> >SQL model. I could not find a field in either the Table or Column
> >elements. All I could figure was the following:
> > if table.getSelfRefColumnGeneration == null
> > no self ref column
> > else
> > self ref column = table.getColumns(0)
> >
> >Is this correct?
> >
> >Thanks in advance.
> >
> >Rob
> >
> >_______________________________________________
> >dtp-dev mailing list
> >dtp-dev@xxxxxxxxxxx
> >https://dev.eclipse.org/mailman/listinfo/dtp-dev
> >
> >
>
> _______________________________________________
> dtp-dev mailing list
> dtp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/dtp-dev
>