Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1091

Cause of RollbackException swallowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-2
    • 3.0, 3.2
    • server
    • None

    Description

      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.

      Attachments

        1. open-ejb_1091.patch
          2 kB
          Mohan Reddy
        2. OPENEJB-1091-combined.patch
          4 kB
          Vamsavardhana Reddy
        3. OPENEJB-1091-convertException.patch
          2 kB
          Mohan Reddy
        4. OPENEJB-1091-convertException-new.patch
          2 kB
          Vamsavardhana Reddy

        Issue Links

          Activity

            People

              jlmonteiro Jean-Louis Monteiro
              geoffcallender Geoff Callender
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: