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

enhance unit tests with the correct persistence.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.0.1, 2.1.0
    • 2.1.0, 2.2.0
    • build / infrastructure
    • None
    • Patch Available

    Description

      in OPENJPA-1900 I found out that we do not enhance our entities with the configuration which get used later while running the unit tests.

      But enhancing sometimes has a huge implication on the behaviour! Thus we should always try to use the same persistence.xml for enhancing as we do for running the unit tests.

      This small patch fixes the usage for our proxy tests which use openjpa.DetachState=fetch-groups (leading to Externalizable entities)

      Attachments

        1. OPENJPA-1909.patch
          2 kB
          Mark Struberg

        Activity

          People

            mikedd Michael Dick
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: