[
https://issues.jboss.org/browse/AS7-4761?page=com.atlassian.jira.plugin.s...
]
jaikiran pai updated AS7-4761:
------------------------------
Attachment: JCTest-maven.zip
A Maven version of the project attached. To test, follow these steps:
- mvn clean install
Start AS7 (standalone-full.xml)
- mvn jboss-as:deploy
- mvn exec:exec
CMR relation lost within creating transaction
---------------------------------------------
Key: AS7-4761
URL:
https://issues.jboss.org/browse/AS7-4761
Project: Application Server 7
Issue Type: Bug
Components: EJB
Affects Versions: 7.1.2.Final (EAP)
Environment: Windows 7 Pro SP1 (64bit); JDK 1.6.0_31 (64bit); Oracle Database 11g
Release 11.1.0.6.0 - 64bit Production; AS71.1Final / AS71.2 latest build
Reporter: Klaus Benary
Assignee: jaikiran pai
Labels: ejb
Attachments: JCTest-maven.zip, JCTest.zip
When creating a CMR related parent *and* child bean in the same transaction, the related
child is not visible if it is accessed immediately after creation. After such an immediate
access, the relation remains inaccessible within the same transaction even when re-reading
the parent by PK.
In a new transaction the relation is fine.
--
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