[
https://issues.redhat.com/browse/WFLY-13566?page=com.atlassian.jira.plugi...
]
Scott Marlow updated WFLY-13566:
--------------------------------
Description:
org.jboss.as.jpa.service.PersistenceUnitServiceImpl#start() needs to always call
pu.setAnnotationIndex(null) to clear the deployment reference to the Jandex Indexes.
Currently without the fix, the Jandex Index will be released at application undeployment
time. With the fix, the Jandex Index memory will be release after application deployment
is complete.
Note that this problem shouldn't occur when persistence.xml contains:
{code}
<property name="wildfly.jpa.twophasebootstrap" value="false"/>
{code}
was:
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}
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
Priority: Major
org.jboss.as.jpa.service.PersistenceUnitServiceImpl#start() needs to always call
pu.setAnnotationIndex(null) to clear the deployment reference to the Jandex Indexes.
Currently without the fix, the Jandex Index will be released at application undeployment
time. With the fix, the Jandex Index memory will be release after application deployment
is complete.
Note that this problem shouldn't occur when persistence.xml contains:
{code}
<property name="wildfly.jpa.twophasebootstrap" value="false"/>
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)