[seam-issues] [JBoss JIRA] (SEAMFACES-232) Faces initiated transaction does not rollback on RuntimeException

Bernard Labno (Commented) (JIRA) jira-events at lists.jboss.org
Thu Jan 5 10:17:09 EST 2012


    [ https://issues.jboss.org/browse/SEAMFACES-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654075#comment-12654075 ] 

Bernard Labno commented on SEAMFACES-232:
-----------------------------------------

Workaround:
If during Invoke Application phase we call #{a.b} then method "b" could delegate to injected bean "d"'s method "e" which should be annotated @Transactionl. This way the SimpleTransactionExceptionHandler whould be notified (thus transaction would get rolled back) right after invocation of method "e".
                
> Faces initiated transaction does not rollback on RuntimeException
> -----------------------------------------------------------------
>
>                 Key: SEAMFACES-232
>                 URL: https://issues.jboss.org/browse/SEAMFACES-232
>             Project: Seam Faces
>          Issue Type: Bug
>          Components: Transactions & Persistence
>    Affects Versions: 3.1.0.Final
>            Reporter: Cody Lerum
>             Fix For: 3.1.0.Tracking
>
>
> Currently a runtime exception thrown in the Seam Faces started tx around Invoke Application will not trigger a rollback.

--
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

        


More information about the seam-issues mailing list