OpenJPA
  1. OpenJPA
  2. OPENJPA-818

TCK module should use Geronimo JPA 2.0 EA jar

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M2
    • Component/s: None
    • Labels:
      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.

        Activity

        Hide
        Michael Dick added a comment -

        I've changed the configuration to use Geronimo's API, but I haven't automatically excluded the failing test. Individual users will have to do that manually.

        Show
        Michael Dick added a comment - I've changed the configuration to use Geronimo's API, but I haven't automatically excluded the failing test. Individual users will have to do that manually.

          People

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

            Dates

            • Due:
              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

                Development