Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1152 OpenJPA 2.0 iteration 9 primary task
  3. OPENJPA-1076

PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M3
    • Component/s: third-party
    • Labels:
      None

      Description

      Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

      1. test_patch.txt
        16 kB
        Dianne Richards

        Issue Links

          Activity

          Hide
          drwoods Donald Woods added a comment -

          Testcases from Dianne checked into trunk as r903328.

          Show
          drwoods Donald Woods added a comment - Testcases from Dianne checked into trunk as r903328.
          Hide
          drwoods Donald Woods added a comment -

          Checked with Albert and I'll take this todo off his plate.

          Show
          drwoods Donald Woods added a comment - Checked with Albert and I'll take this todo off his plate.
          Hide
          dianner Dianne Richards added a comment -

          Attaching a patch of test cases

          Show
          dianner Dianne Richards added a comment - Attaching a patch of test cases
          Hide
          drwoods Donald Woods added a comment - - edited

          Spec code Rev798212 for Persistence.crateEMF method updated to give each provider a chance to create a EMF until one is returned. If we only have one provider, then rethrow any of its exceptions. Otherwise, if no providers return an EMF, then throw an exception to preserve the old 1.0 behavior.

          Show
          drwoods Donald Woods added a comment - - edited Spec code Rev798212 for Persistence.crateEMF method updated to give each provider a chance to create a EMF until one is returned. If we only have one provider, then rethrow any of its exceptions. Otherwise, if no providers return an EMF, then throw an exception to preserve the old 1.0 behavior.
          Hide
          drwoods Donald Woods added a comment -

          Spec code in javax.persistence.Persistence.createEntityManagerFactory() updated in Rev797072.
          Waiting for discussion about if we want to allow createEMF() to continue creating an explicit provider before closing this.

          Show
          drwoods Donald Woods added a comment - Spec code in javax.persistence.Persistence.createEntityManagerFactory() updated in Rev797072. Waiting for discussion about if we want to allow createEMF() to continue creating an explicit provider before closing this.
          Hide
          drwoods Donald Woods added a comment -

          Need to update javax.persistence.Persistence.createEntityManagerFactory() to use this...

          Show
          drwoods Donald Woods added a comment - Need to update javax.persistence.Persistence.createEntityManagerFactory() to use this...
          Show
          drwoods Donald Woods added a comment - Updated geronimo-jpa_2.0 artifacts were published as - https://repository.apache.org/content/repositories/snapshots/org/apache/geronimo/specs/geronimo-jpa_2.0_spec/1.0-EA5-SNAPSHOT/geronimo-jpa_2.0_spec-1.0-EA5-20090722.191803-3.jar
          Hide
          drwoods Donald Woods added a comment -

          Added to geronimo-jpa_2.0_spec-1.0-EA5-SNAPSHOT using GERONIMO-4410 as Rev796840.

          Show
          drwoods Donald Woods added a comment - Added to geronimo-jpa_2.0_spec-1.0-EA5-SNAPSHOT using GERONIMO-4410 as Rev796840.
          Hide
          drwoods Donald Woods added a comment -

          Dummy impl of Persistence.getPersistenceUtil() added to geronimo-jpa-2.0 spec in Rev793637.

          Show
          drwoods Donald Woods added a comment - Dummy impl of Persistence.getPersistenceUtil() added to geronimo-jpa-2.0 spec in Rev793637.

            People

            • Assignee:
              drwoods Donald Woods
              Reporter:
              drwoods Donald Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development