[
https://issues.jboss.org/browse/AS7-2874?page=com.atlassian.jira.plugin.s...
]
Ondřej Chaloupka reopened AS7-2874:
-----------------------------------
I'm reopening this Jira because test which was cause of filing this jira fails.
It's test
org.jboss.as.test.integration.ejb.transaction.bmt.lazyenlist.LazyTransactionEnlistmentUnitTestCase.testRawSQL().
The test was migrated from prior EJB3 testsuite.
The problem is that rollback does not affect raw sql command when transaction is managed
by bean.
Problem occurs in method withdrawTwiceWithRollback. The first sql update is committed and
second one should be rollbacked but it is propagated to DB as well.
Transaction rollback does not work for raw sql and bean managed
transaction
---------------------------------------------------------------------------
Key: AS7-2874
URL:
https://issues.jboss.org/browse/AS7-2874
Project: Application Server 7
Issue Type: Bug
Reporter: Ondřej Chaloupka
Assignee: Stuart Douglas
Labels: as7-ignored
Fix For: 7.1.0.Final
Transaction rollback for bean managed transaction and raw sql does not work properly.
After UPDATE data is written to DB and rollback does not cause returns to previous
state.
Test for this could be checked on:
https://github.com/ochaloup/jboss-as/commits/JBQA-5453-test-migration-tx-...
--
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