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

Failed to throw EntityExistException on duplicated persist in DB2

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.2, 1.3.0, 2.0.0-M2
    • Fix Version/s: 2.0.0-M2
    • Component/s: jdbc
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: