Branch: refs/heads/6.2
Home:
https://github.com/hibernate/hibernate-orm
Commit: d5819c71f3bacaf51ff79a0d5ccb8048ee118f19
https://github.com/hibernate/hibernate-orm/commit/d5819c71f3bacaf51ff79a0...
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: d69138f1b935f84d1e1b4cebfbed2e4040093fac
https://github.com/hibernate/hibernate-orm/commit/d69138f1b935f84d1e1b4ce...
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: 147f01ac0b5f3ed264287331e398675f0e746fad
https://github.com/hibernate/hibernate-orm/commit/147f01ac0b5f3ed26428733...
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/69f3cfe837ac...147f01a...