OpenJPA
  1. OpenJPA
  2. OPENJPA-1909

enhance unit tests with the correct persistence.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.1.0
    • Fix Version/s: 2.1.0, 2.2.0
    • Component/s: build / infrastructure
    • Labels:
      None
    • Patch Info:
      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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Michael Dick
            Reporter:
            Mark Struberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development