We're updating the issue view to help you get more done. 

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

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.

Environment

None

Status

Assignee

Gail Badner

Reporter

Gail Badner

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.2.17
5.1.15
5.3.6

Priority

Major