You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2009/05/08 22:40:45 UTC

[jira] Created: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
---------------------------------------------------------------------------------

                 Key: OPENJPA-1076
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
             Project: OpenJPA
          Issue Type: Sub-task
          Components: third-party
            Reporter: Donald Woods
            Assignee: Donald Woods
             Fix For: 2.0.0


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735776#action_12735776 ] 

Donald Woods commented on OPENJPA-1076:
---------------------------------------

Spec code 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.

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734264#action_12734264 ] 

Donald Woods commented on OPENJPA-1076:
---------------------------------------

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


> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805100#action_12805100 ] 

Donald Woods commented on OPENJPA-1076:
---------------------------------------

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

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>    Affects Versions: 2.0.0-M2
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0-M3
>
>         Attachments: test_patch.txt
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods reopened OPENJPA-1076:
-----------------------------------


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

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Work started: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on OPENJPA-1076 started by Donald Woods.

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Dianne Richards (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dianne Richards updated OPENJPA-1076:
-------------------------------------

    Attachment: test_patch.txt

Attaching a patch of test cases

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>    Affects Versions: 2.0.0-M2
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0-M3
>
>         Attachments: test_patch.txt
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved OPENJPA-1076.
-----------------------------------

    Resolution: Fixed

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

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805104#action_12805104 ] 

Donald Woods commented on OPENJPA-1076:
---------------------------------------

Testcases from Dianne checked into trunk as r903328.

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>    Affects Versions: 2.0.0-M2
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0-M3
>
>         Attachments: test_patch.txt
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-1076:
----------------------------------

    Affects Version/s: 2.0.0-M2
        Fix Version/s:     (was: 2.0.0)
                       2.0.0-M3

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>    Affects Versions: 2.0.0-M2
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0-M3
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735776#action_12735776 ] 

Donald Woods edited comment on OPENJPA-1076 at 7/27/09 2:04 PM:
----------------------------------------------------------------

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.

      was (Author: drwoods):
    Spec code 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.
  
> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-1076:
----------------------------------

    Parent Issue: OPENJPA-1152  (was: OPENJPA-773)

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-1076:
----------------------------------

      Description: Implement the javax.persistence.spi.PersistenceProviderResolverHolder class and javax.persistence.Persistence.getPersistenceUtil() method in the JPA2 API Spec over in Geronimo.  (was: Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.)
    Fix Version/s:     (was: 2.0.0-M2)
                   2.0.0

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the javax.persistence.spi.PersistenceProviderResolverHolder class and javax.persistence.Persistence.getPersistenceUtil() method in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved OPENJPA-1076.
-----------------------------------

    Resolution: Fixed

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730420#action_12730420 ] 

Donald Woods commented on OPENJPA-1076:
---------------------------------------

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

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the javax.persistence.spi.PersistenceProviderResolverHolder class and javax.persistence.Persistence.getPersistenceUtil() method in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734617#action_12734617 ] 

Donald Woods commented on OPENJPA-1076:
---------------------------------------

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.

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (OPENJPA-1076) PersistenceProviderResolver interface and PersistenceProviderResolverHolder class

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods updated OPENJPA-1076:
----------------------------------

    Description: Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.  (was: Implement the javax.persistence.spi.PersistenceProviderResolverHolder class and javax.persistence.Persistence.getPersistenceUtil() method in the JPA2 API Spec over in Geronimo.)

> PersistenceProviderResolver interface and PersistenceProviderResolverHolder class
> ---------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1076
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1076
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: third-party
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>
> Implement the PersistenceProviderResolver interface and PersistenceProviderResolverHolder classes in the JPA2 API Spec over in Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.