-
Enhancement
-
Resolution: Done
-
Minor
-
16.0.0.Final
-
None
Pick a few unit tests and add the following settings to enable entity bytecode enhancement:
<property name="hibernate.enhancer.enableDirtyTracking" value="true"/> <property name="hibernate.enhancer.enableLazyInitialization" value="true"/> <property name="hibernate.enhancer.enableAssociationManagement" value="true"/>
Steps to reproduce:
- Build WildFly
- cd testsuite/integration/basic
- mvn clean install -Dtest=org.jboss.as.test.integration.jpa.transaction.TransactionTestCase
- mvn clean install -Dtest=org.jboss.as.test.integration.jpa.hibernate.management.ManagementTestCase
- mvn clean install -Dtest=org.jboss.as.test.integration.jpa.entitylistener.EntityListenersTestCase
- mvn clean install -Dtest=org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase
Note that the org.jboss.as.test.integration.jpa.transaction.TransactionTestCase test should pass since javassist is specified in the persistence.xml but that seems to be ignored (we still get the ByteBuddy failure).
To workaround failures, prestart wildfly via: ./standalone.sh -Dhibernate.bytecode.provider=javassist and then run tests.
- causes
-
WFLY-12063 ClassFormatError on JDK13
- Closed
- is blocked by
-
HHH-13343 Loading...