-
Bug
-
Resolution: Done
-
Major
-
7.0.9.GA, 7.2.0.Beta, 7.1.4.GA
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)
...
- is cloned by
-
JBEAP-15326 [GSS](7.1.z) HHH-12935: Constraint and AuxiliaryDatabaseObject export identifiers are not qualified by schema or catalog
- Closed
- is incorporated by
-
JBEAP-15661 (7.2.0) Upgrade Hibernate ORM from 5.3.6 to 5.3.7
- Closed
-
WFLY-11193 Upgrade Hibernate ORM from 5.3.6 to 5.3.7
- Closed
- incorporates
-
HHH-12935 Loading...
- links to