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

TCK module should use Geronimo JPA 2.0 EA jar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M2
    • 2.0.0-M2
    • None
    • None

    Description

      The pom.xml file for the TCK module doesn't use the updated JPA 2.0 EA spec from Geronimo so the TCK fails when we require one of the new classes (ie QueryBuilder).

      Switching the pom to use Geronimo's implementation resolves the missing classes issue, but we fail the method signature test - this likely won't be updated until a new TCK is released.

      I'm not an expert but I believe the signature test (and only the signature test) may be skipped by specifying -Djpatck.pkg.dir=com/sun/ts/tests/ejb30/
      as a command line argument when running the TCK through maven. Until we get an updated TCK or someone with direct access to the TCK finds a better way to exclude the sig test I suggest anyone interested in running the TCK use the argument above.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified