Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Self-referencing Column Definition


Rob,

i think we need a boolean attribute on Column in SQLModel to indicate if the column is a self-referencing column.

thanks,

- Hemant



rcernich@xxxxxxxxxx
Sent by: dtp-dev-bounces@xxxxxxxxxxx

09/05/2006 10:30 AM

Please respond to
DTP development mailing list <dtp-dev@xxxxxxxxxxx>

To
dtp-dev@xxxxxxxxxxx
cc
Subject
[dtp-dev] Self-referencing Column Definition






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


Back to the top