OpenJPA
  1. OpenJPA
  2. OPENJPA-668

Test failures with IBM JDK (xml parsing)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: jdbc
    • Labels:
      None

      Description

      Just attempted to run trunk's test bucket with the IBM JDK and found two testcase failures:

      TestUniqueConstraintWithXMLDescriptor.testMapping
      TestEnhancementWithMultiplePUs.testEnhancementOfAllPUsWithinAResource

      It looks like these problems are due to "incorrect" orm.xml. I have fixed these locally and will check them in shortly.

      This comes back to the fact that the validation aspect of the xml parser for the Sun JDK is turned off by default (due to an old problem). But, the validation is left on with the IBM JDK parser. That's how we are able to detect the problem. This is documented in openjpa-513.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Kevin Sutter
              Reporter:
              Kevin Sutter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development