Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-992

Failed to throw EntityExistException on duplicated persist in DB2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.2, 1.3.0, 2.0.0-M2
    • 2.0.0-M2
    • jdbc
    • None

    Description

      TestException.testThrowsEntityExistsException() failed when run against DB2 due to incorrect exception being thrown from OpenJPA. The test is expecting EntityExistsException but instead a RolledbackException with nested PersistenceException is thrown.

      Albert Lee.

      Attachments

        Activity

          People

            allee8285 Albert Lee
            allee8285 Albert Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: