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 Sub-task
    • Status: Closed
    • Priority: Major 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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          74d 20h 27m 1 Donald Woods 22/Jul/09 18:07
          In Progress In Progress Resolved Resolved
          2h 11m 1 Donald Woods 22/Jul/09 20:19
          Resolved Resolved Reopened Reopened
          1h 43m 1 Donald Woods 22/Jul/09 22:02
          Reopened Reopened Resolved Resolved
          6d 4h 37m 1 Donald Woods 29/Jul/09 02:40
          Resolved Resolved Closed Closed
          223d 16h 50m 1 Donald Woods 09/Mar/10 18:31
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Donald Woods added a comment -

          Testcases from Dianne checked into trunk as r903328.

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

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

          Show
          Donald Woods added a comment - Checked with Albert and I'll take this todo off his plate.
          Dianne Richards made changes -
          Attachment test_patch.txt [ 12431433 ]
          Hide
          Dianne Richards added a comment -

          Attaching a patch of test cases

          Show
          Dianne Richards added a comment - Attaching a patch of test cases
          Donald Woods made changes -
          Fix Version/s 2.0.0-M3 [ 12314148 ]
          Fix Version/s 2.0.0 [ 12314019 ]
          Affects Version/s 2.0.0-M2 [ 12313483 ]
          Donald Woods made changes -
          Link This issue relates to OPENJPA-1203 [ OPENJPA-1203 ]
          Donald Woods made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          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
          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
          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
          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.
          Donald Woods made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Hide
          Donald Woods added a comment -

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

          Show
          Donald Woods added a comment - Need to update javax.persistence.Persistence.createEntityManagerFactory() to use this...
          Show
          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
          Donald Woods made changes -
          Donald Woods made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Donald Woods added a comment -

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

          Show
          Donald Woods added a comment - Added to geronimo-jpa_2.0_spec-1.0-EA5-SNAPSHOT using GERONIMO-4410 as Rev796840.
          Donald Woods made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Donald Woods made changes -
          Description Implement the javax.persistence.spi.PersistenceProviderResolverHolder class and javax.persistence.Persistence.getPersistenceUtil() method in the JPA2 API Spec over in Geronimo. Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.
          Hide
          Donald Woods added a comment -

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

          Show
          Donald Woods added a comment - Dummy impl of Persistence.getPersistenceUtil() added to geronimo-jpa-2.0 spec in Rev793637.
          Donald Woods made changes -
          Field Original Value New Value
          Fix Version/s 2.0.0 [ 12314019 ]
          Fix Version/s 2.0.0-M2 [ 12313483 ]
          Description Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo. Implement the javax.persistence.spi.PersistenceProviderResolverHolder class and javax.persistence.Persistence.getPersistenceUtil() method in the JPA2 API Spec over in Geronimo.
          Donald Woods created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development