[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1031) Transaction rollback rules for Seam JavaBean components
Gavin King (JIRA)
jira-events at lists.jboss.org
Sun Mar 11 13:45:47 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1031?page=comments#action_12355764 ]
Gavin King commented on JBSEAM-1031:
------------------------------------
The "API" could just be UserTransaction, I suppose ... we could inject it into the JavaBean component.
> Transaction rollback rules for Seam JavaBean components
> -------------------------------------------------------
>
> Key: JBSEAM-1031
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1031
> Project: JBoss Seam
> Issue Type: Feature Request
> Affects Versions: 1.2.0.GA
> Reporter: Gavin King
> Assigned To: Gavin King
> Fix For: 1.2.1.GA
>
>
> Currently, the only way to define exception rollback rules is @ApplicationException, which is a dependency to EJB3. For some reason I closed JBSEAM-467 without a better solution for this. There really needs to be two things:
> (1) An API to call to set the current tx to rollback only
> (2) some kind of @Exception annotation that allows control of rollback and, potentially, ending the conversation
> We should possibly even deprecate the end() member of @HttpError and @Redirect if we have this new thing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list