Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1455

SynchronizeMapping ALTER TABLE ADD COLUMN fails with column already exist exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0-beta3
    • jdbc
    • None

    Description

      SynchronizeMapping ALTER TABLE ADD COLUMN fails with column already exist exception. The failure happens when there are multiple tables with the same name but in different schema. When OpenJPA detects a missing column from one table with schema X, it tried to to add the column to another table in default schema, resulting in column already exist exception.

      Attachments

        Issue Links

          Activity

            People

              faywang Fay Wang
              faywang Fay Wang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: