tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENEJB-1091) Cause of RollbackException swallowed
Date Tue, 26 Apr 2011 15:09:03 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vamsavardhana Reddy updated OPENEJB-1091:
-----------------------------------------

    Attachment: OPENEJB-1091-combined.patch

OPENEJB-1091-combined.patch:

Change java.transaction.TransactionRolledbackException to javax.ejb.TransactionRolledbackLocalException
to capture the cause.

Convert javax.ejb.TransactionRolledbackLocalException to java.rmi.RemoteException in case
of remote invocation.

> Cause of RollbackException swallowed
> ------------------------------------
>
>                 Key: OPENEJB-1091
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1091
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.0-beta-2
>            Reporter: Geoff Callender
>            Assignee: Jean-Louis MONTEIRO
>             Fix For: 3.0
>
>         Attachments: OPENEJB-1091-combined.patch, OPENEJB-1091-convertException-new.patch,
OPENEJB-1091-convertException.patch, open-ejb_1091.patch
>
>
> This is linked to OPENEJB-782 where the problem was first noted.  The flaw described
there still exists in 3.1, ie. the client still has no way of determining the reason a rollback
occurred.
> When the client digs into the exception cause, all it finds is javax.transaction.RollbackException.
The originating javax.persistence.PersistenceException or java.sql.SQLException is missing.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message