Uploaded image for project: 'Hibernate ORM'
  1. HHH-12935

Constraint and AuxiliaryDatabaseObject export identifiers are not qualified by schema or catalog

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.17, 5.1.15, 5.3.6
    • Fix Version/s: 5.4.0.CR1, 5.1.17, 5.3.7
    • Component/s: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      Constraint and AuxiliaryDatabaseObject objects are defined within a Namespace (i.e, catalog and/or schema).

      Currently, Hibernate throws SchemaManagementException if a Constraint or NamedAuxiliaryDatabaseObject with the same name is present in 2 catalogs/schemas because getExportIdentifier() returns a value that is not qualified by Namespace.

      There is no problem with SimpleAuxiliaryDatabaseObject, because its export identifier is unique because it relies on a counter, not a name.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                gbadner Gail Badner
                Reporter:
                gbadner Gail Badner
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: