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

Cody Lerum (Commented) (JIRA) jira-events at lists.jboss.org
Tue Jan 3 16:04:09 EST 2012


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

Cody Lerum commented on SEAMFACES-232:
--------------------------------------

This would mirror the functionality of Seam Transaction and since we are saying that If you use faces you don't have to worry about Annotating your methods  - https://github.com/seam/transaction/blob/develop/docs/src/main/docbook/en-US/transaction-general.xml#L153 I think we should stick with that behavior

That is the EE way and it's what is currently done in Seam Transaction. We could expose a config option in the future to do rollback on any Exception, but I don't think we should deviate from that as the default.
                
> 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