Uploaded image for project: 'Apache MetaModel (Retired)'
  1. Apache MetaModel (Retired)
  2. METAMODEL-1196

relationships incorrectly conflated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.1.0
    • None
    • None

    Description

      (note: 5.1.0 is listed as an unreleased version even though it is released)

      I have the following tables:

      a (
          b TEXT,
          c TEXT,
          FOREIGN KEY (b) REFERENCES d(e),
          FOREIGN KEY (c) REFERENCES d(e)
      )
      
      d (
          e TEXT PRIMARY KEY
      )
      

       There are two different foreign key relationships, but MetaModel views them as one:

      Relationship[primaryTable=d,primaryColumns=[e, e],foreignTable=a,foreignColumns=[b, c]]

      Attachments

        Activity

          People

            Unassigned Unassigned
            kgeis Ken Geis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: