[
https://issues.jboss.org/browse/AS7-4940?page=com.atlassian.jira.plugin.s...
]
Scott Marlow commented on AS7-4940:
-----------------------------------
http://pastie.org/4026133 shows the TRACE log/println output from running "mvn clean
install -Dtrace=org.jboss.as.jpa
-Dtest=org.jboss.as.test.integration.jpa.sibling.SiblingXPCInheritanceTestCase"
against branch
https://github.com/scottmarlow/jboss-as/tree/AS7-4940_xpc_inherit
SFSBtopLevel is the top level bean (no xpc used), which injects DAO1 + DAO2 (which share
the same xpc via sibling inheritance).
The following events are illustrated in the paste link:
1. Injection for SFSBTopLevel occurs first for tx scoped em (doesn't get used in test
and doesn't get into the jta transaction as a result)
2. DAO2 injection of newly created XPC occurs
3. DAO2 postconstruct is invoked
4. DAO1 injection of XPC inherited from sibling DAO2 occurs
5. DAO1 postconstruct is invoked
6. SFSBTopLevel postconstruct is invoked.
add option to allow/disallow extended persistence context inheritance
from SFSB sibling beans
---------------------------------------------------------------------------------------------
Key: AS7-4940
URL:
https://issues.jboss.org/browse/AS7-4940
Project: Application Server 7
Issue Type: Task
Components: JPA / Hibernate
Affects Versions: 7.1.1.Final
Reporter: Scott Marlow
Assignee: Scott Marlow
Fix For: 7.2.0.Alpha1
See discussion
[
here|http://java.net/projects/jpa-spec/lists/users/archive/2012-06/thread...]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira