[jboss-jira] [JBoss JIRA] Closed: (JBAS-3873) EJB 2.1 - 17.6.2.8 - setRollbackOnly must throw IllegalStateException when called from EJB with transaction attribute of Supports, NotSupported or Never

Dimitris Andreadis (JIRA) jira-events at jboss.com
Fri Jan 26 14:44:57 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-3873?page=all ]

Dimitris Andreadis closed JBAS-3873.
------------------------------------

    Fix Version/s:     (was: JBossAS-4.2.0.CR1)
       Resolution: Rejected
         Assignee: Dimitris Andreadis  (was: Scott M Stark)

Our interpretation of the standard is that in the "Supports" case, if a Xx is active the user code can mark it for rollback. If not an exception will be thrown. Same for getRollbackOnly().

17.6.2.3 says that the "Supports" option with an active Tx should resemble the "Required" case.

I think we should discuss this in the forums first. What was the motivation in the first place?

> EJB 2.1 - 17.6.2.8 - setRollbackOnly must throw IllegalStateException when called from EJB with transaction attribute of Supports, NotSupported or Never
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-3873
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3873
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions: JBossAS-4.0.5.GA
>            Reporter: Darran Lofthouse
>         Assigned To: Dimitris Andreadis
>
> EJB 2.1 - 17.6.2.8 - setRollbackOnly must throw IllegalStateException when called from EJB with transaction attribute of Supports, NotSupported or Never.
> However for an EJB with a transaction attribute of Supports if it is called with a transaction calls to setRollbackOnly succeed.

-- 
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 jboss-jira mailing list