[jboss-jira] [JBoss JIRA] Commented: (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 15:25:57 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAS-3873?page=comments#action_12351749 ] 
            
Dimitris Andreadis commented on JBAS-3873:
------------------------------------------

Yes, but you understand that if this is so, a CMT bean with "Supports" cannot find out the status or trigger the rollback of a tx using getRollbackOnly/setRollBackOnly ?

> 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
>             Fix For: JBossAS-4.2.0.CR1
>
>
> 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