Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 036a37a7e8f246541021386e8bfef4e1862e5174
https://github.com/hibernate/hibernate-orm/commit/036a37a7e8f246541021386...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/orphan/onetomany/PersistAndQueryingInSameTransactionTest.java
Log Message:
-----------
HHH-15512 Add test for issue
Commit: e8783e6075c6ef6325739c3bebeaf6a6dc51b241
https://github.com/hibernate/hibernate-orm/commit/e8783e6075c6ef6325739c3...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
Log Message:
-----------
HHH-15512 Querying for an entity persisted but not flushed to the database causes the
exception 'A collection with cascade=all-delete-orphan was no longer referenced by the
owning entity instance'
Compare:
https://github.com/hibernate/hibernate-orm/compare/a08716b67b5b...e8783e6...