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

Test failures with IBM JDK (xml parsing)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: