[jboss-jira] [JBoss JIRA] (WFLY-13566) Ensure that Jandex indexes are released from JPA deployment memory after deployment completes

Scott Marlow (Jira) issues at jboss.org
Fri Jun 5 11:38:05 EDT 2020


Scott Marlow created WFLY-13566:
-----------------------------------

             Summary: Ensure that Jandex indexes are released from JPA deployment memory after deployment completes
                 Key: WFLY-13566
                 URL: https://issues.redhat.com/browse/WFLY-13566
             Project: WildFly
          Issue Type: Bug
          Components: JPA / Hibernate
    Affects Versions: JBoss AS7 7.2.0.Final
            Reporter: Scott Marlow
            Assignee: Scott Marlow


org.jboss.as.jpa.service.PersistenceUnitServiceImpl#start() needs to always call pu.setAnnotationIndex(null) to clear the deployment reference to the Jandex Indexes.  Currently this only happens when persistence.xml contains:
{code}
<property name="wildfly.jpa.twophasebootstrap" value="false"/>
{code}




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list