-
Bug
-
Resolution: Done
-
Major
-
7.0.9.GA, 7.2.0.Beta, 7.1.4.GA
-
Release Notes
-
-
-
-
-
Two different entities in a single persistence unit are mapped to tables by the same name which reside in different database schemas. The tables each have unique constraints on identically named, non-primary key properties. When Hibernate is used to create the database artifacts, an exception is raised:
... org.hibernate.tool.schema.spi.SchemaManagementException: SQL strings added more than once for: employee.UK-UK_....
at org.hibernate.tool.schema.internal.SchemaCreatorImpl.checkExportIdentifier(SchemaCreatorImpl.java:408)
at org.hibernate.tool.schema.internal.SchemaCreatorImpl.createFromMetadata(SchemaCreatorImpl.java:347)
at org.hibernate.tool.schema.internal.SchemaCreatorImpl.performCreation(SchemaCreatorImpl.java:165)
at org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:134)
at org.hibernate.tool.schema.internal.SchemaCreatorImpl.doCreation(SchemaCreatorImpl.java:120)
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:148)
at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:65)
at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:478)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:423)
at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:880)
...
- clones
-
JBEAP-15668 [GSS](7.2.0) HHH-12935: Constraint and AuxiliaryDatabaseObject export identifiers are not qualified by schema or catalog
- Closed
- is incorporated by
-
JBEAP-15311 (7.1.z) Upgrade Hibernate ORM from 5.1.16 to 5.1.17
- Closed
- incorporates
-
HHH-12935 Loading...
- links to