Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1536

Order of foreign keys in .roo-dbre xml file determines @ManyToOne and @OneToOne field generation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: PERSISTENCE
    • Labels:
      None

      Description

      The order of the foreign keys in the .roo-dbre xml file should not affect the generation of @ManyToOne and @OneToOne fields. This is due to finding foreign keys based on the table's column names and stopping on the first match of a column instead of simply iterating through the foreign keys themselves and obtaining the local column from the foreign key's reference elements.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            stewarta Alan Stewart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: