[
https://issues.jboss.org/browse/WFLY-11891?page=com.atlassian.jira.plugin...
]
Scott Marlow edited comment on WFLY-11891 at 3/28/19 9:33 AM:
--------------------------------------------------------------
[~tomekadamski] Thanks for volunteering to look at this, at this point, I think its best
for the Hibernate team try to solve first ([~gbadner] has been working on it).
was (Author: smarlow):
[~tomekadamski] Thanks for volunteering to look at this, at this point, I think its best
of the Hibernate team try to solve first ([~gbadner] has been working on it).
Add tests that enable JPA entity class bytecode enhancement
-----------------------------------------------------------
Key: WFLY-11891
URL:
https://issues.jboss.org/browse/WFLY-11891
Project: WildFly
Issue Type: Enhancement
Components: JPA / Hibernate
Affects Versions: 16.0.0.Final
Reporter: Scott Marlow
Assignee: Gail Badner
Priority: Minor
Attachments: bytebuddy.log, javassist.log
Pick a few unit tests and add the following settings to enable [entity bytecode
enhancement|http://docs.jboss.org/hibernate/orm/5.3/userguide/html_single...]:
{code}
<property name="hibernate.enhancer.enableDirtyTracking"
value="true"/>
<property name="hibernate.enhancer.enableLazyInitialization"
value="true"/>
<property name="hibernate.enhancer.enableAssociationManagement"
value="true"/>
{code}
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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)