An error occurred while attempting to transform the org.hibernate.bytecode.enhance.spi.EnhancementContextWrapper
Description
Attachments
Activity

Andreas Keefer February 4, 2025 at 1:29 PMEdited
We have a similar issue regarding the “new“ default for enhancer:
We are running Hibernate 6.5.3
with spring-boot as a fat-jar(embedded tomacat) and see in some cases that hibernate does not execute update statements of entities. When setting the enableDirtyTracking
and enableLazyInitialization
to false, everything works as expected. We have set these 2 properties when we updated to spring-boot 3.1 (hibernate 6.2.17
) Since then they where required because of this hibernate bug in the enhancer.
But we now have tried to remove them because of the deprecation warnings since our recent spring-boot/hibernate update.
Do you already know how long these properties will stay or when they are planed to be removed?
Can we do anything to help fixing this enhancer bug?
Hi, I did a version upgrade from 6.1.7 to 6.2.0, 6.2.24 and 6.4.4 and this issue arose after changing from 6.1.7.
I get a stackOverflowError as soon as the openLiberty server starts up, it seems to be from the bytecode bytebuddy
I have attached the logs
With the attached ticket I have done what was recommended in the comments:
But hibernate says this is to be deprecated soon and should be set to true, is there any fix for this going forward?
Example here on github