Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8606

Reverse Engineering FK-Detection in parent table

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Major Major
    • 3.3.x
    • LATER
    • hibernate
    • None
    • High

      Postgresql does allow to inherit a table from another table.
      But the RevEng does not detect Foregin-keys from parent table.

      Example:

      CREATE TABLE changed (
      created_from_user_id INTEGER NOT NULL,
      CONSTRAINT "created_user" FOREIGN KEY ("created_from_user_id") REFERENCES user("user_id")
      )

      CREATE TABLE guestbook (
      caption TEXT,
      ) INHERITS (changed)

      insert into guestbook (1,'hi')

      RevEng will create
      public int getCreatedFromUserId()
      instead of
      public User getCreatedFromUser()
      what i expected to become.

            Unassigned Unassigned
            nocturn3 Peter Rader (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified