Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 4d79376be9b39ce34df3e56941dbeb62a45b031a
https://github.com/hibernate/hibernate-orm/commit/4d79376be9b39ce34df3e56...
Author: gtoison <guillaume.toison(a)tobam.fr>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/embeddable/EmbeddableWithParentWithInheritanceTest.java
Log Message:
-----------
HHH-16812 Test reproducing the issue
It seems that when trying to call the Smell.setCheese()setter and when
the entity is an uninitialized Food proxy there’s a ClassCastException
(maybe the proxy should be narrowed to the actual class of the entity)
and then it tries to build an exception but to do that it needs to
initialize the entity and that fails again with the same problem.
Building the exception fails because PropertySetterAccessException tries
to call the toString method of the uninitialized proxy.
Commit: 2c2fd9df7594c5d59495a1b5d410ec03f52d9ac5
https://github.com/hibernate/hibernate-orm/commit/2c2fd9df7594c5d59495a1b...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/embeddable/EmbeddableWithParentWithInheritance2Test.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/embeddable/EmbeddableWithParentWithInheritanceTest.java
Log Message:
-----------
HHH-16812 add test for issue
Commit: e2ec3cd3e7fac1ccd79373230cd6dbec8608ddee
https://github.com/hibernate/hibernate-orm/commit/e2ec3cd3e7fac1ccd793732...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-07-18 (Tue, 18 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/PropertySetterAccessException.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/ManagedTypeHelper.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
Log Message:
-----------
HHH-16812 StackOverflowError an embeddable's @Parent is a subclass in an inheritance
tree
Compare:
https://github.com/hibernate/hibernate-orm/compare/58c10758e0e9...e2ec3cd...