Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2731

VDB exported to Dynamic VDB XML, the foreign key relations have erroneous references in the resulting SQL.

XMLWordPrintable

      Model:
      • Catalog (ID, SecondID, ThirdID). Primary key: (ID). Unique constraint: (SecondID, ThirdID)
      • CatalogItem(ID,CatalogID, CatalogSecondID, CatalogThirdID)

      Foreign key relation on Unique constraints, spanning two columns: CatalogItem(CatalogSecondID, CatalogThirdID)  Catalog(SecondID, ThirdID)

      Expected in metadata DLL for CatalogItem:
      CONSTRAINT FKI_SECOND_THIRD_ID FOREIGN KEY(CatalogSecondID, CatalogThirdID) REFERENCES Catalog(SecondID, ThirdID)

      Actual:
      CONSTRAINT FKI_SECOND_THIRD_ID FOREIGN KEY(CatalogSecondID, CatalogThirdID) REFERENCES Catalog(ID)

            blafond Barry LaFond
            rhn-support-dsteigner Deborah Steigner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: