[
https://issues.jboss.org/browse/AS7-1291?page=com.atlassian.jira.plugin.s...
]
Bartosz Majsak commented on AS7-1291:
-------------------------------------
Sure it will make it not portable, but in my case (for Arquillian Persistence Extension)
it wasn't really a problem. I just made it configurable :)
UserTransaction not exposed in JNDI
-----------------------------------
Key: AS7-1291
URL:
https://issues.jboss.org/browse/AS7-1291
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.0.0.Final
Environment: 7.1.0.Alpha1 Jenkins build 1402
Reporter: Juergen Zimmermann
Assignee: Andrew Rubinger
In JBoss 6 UserTransaction was exposed in JNDI named as java:comp/UserTransaction. Thus
an Arquillian test method could be encapsulated in one single transaction:
* lookup() the UserTransaction
* begin() inside @Before
* commit() inside @After
Unfortunately, JBoss 7 doesn't have a JNDI entry for UserTransaction.
--
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