Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-orm
Commit: b28c7b07616aad1966a821a05afdb16c017729c8
https://github.com/hibernate/hibernate-orm/commit/b28c7b07616aad1966a821a...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2019-10-28 (Mon, 28 Oct 2019)
Changed paths:
M
hibernate-envers/src/main/java/org/hibernate/envers/configuration/internal/metadata/IdMetadataGenerator.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
Log Message:
-----------
HHH-12965 Avoid creating foreign keys between audit and main tables
* Fixes a corner case not addressed by HHH-10667
* Avoids creating foreign-key constraints for any many-to-one
Commit: 72b81eebfebdb7eb67e84fe8d01bafdfee73867b
https://github.com/hibernate/hibernate-orm/commit/72b81eebfebdb7eb67e84fe...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2019-10-28 (Mon, 28 Oct 2019)
Changed paths:
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/foreignkey/ForeignKeyExclusionTest.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/foreignkey/LeafLayer.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/foreignkey/MiddleLayer.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/foreignkey/MiddleLayerPK.java
A
hibernate-envers/src/test/java/org/hibernate/envers/test/integration/manytoone/foreignkey/RootLayer.java
Log Message:
-----------
HHH-12965 Avoid creating foreign keys between audit and main tables
* Added test case
Compare:
https://github.com/hibernate/hibernate-orm/compare/02089a5cce95...72b81ee...