-
Bug
-
Resolution: Done
-
Blocker
-
36.0.0.Beta1
-
None
In WildFly when byte code enhancement is explicitly turned on, setting jboss.as.jpa.classtransformer to true (with an application datasource/default datasource), CDI is explicitly disabled. This means that you cannot inject fields or parameters into Jakarta Persistence resources like callbacks, e.g. @PostPersist. The reason why this is the case is described in WFLY-1463.
The default was changed from false to true in WFLY-19393. We need to revert the behavior back to disabling the byte code enhancement by default.
- is caused by
-
WFLY-19393 Persistence container bytecode enhancement must be enabled by default to ensure better performance
-
- Reopened
-