You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Adam Wojtuniak (JIRA)" <ji...@apache.org> on 2009/12/09 20:04:18 UTC

[jira] Created: (ARIES-79) Implement extender for detecting persitence units.

Implement extender for detecting persitence units.
--------------------------------------------------

                 Key: ARIES-79
                 URL: https://issues.apache.org/jira/browse/ARIES-79
             Project: Aries
          Issue Type: New Feature
          Components: JPA
    Affects Versions: Incubation
            Reporter: Adam Wojtuniak


Detect persistence unit bundles based on the presence of persistence.xml
Read all of the persistence unit metadata from the persistence.xml file
Associate a provider with each persistence unit (using the name and version resolving)
Add exports from associated provider to persistence unit bundle imports 

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


RE: [jira] Created: (ARIES-79) Implement extender for detecting persitence units.

Posted by Timothy Ward <ti...@hotmail.com>.
I think that this part of the contribution is definitely worth moving across and working on. The contribution doesn't currently use the Meta-Persistence header, but the existing code can be made a reasonable fit with the current draft specification pretty easily.

Tim

> Date: Wed, 9 Dec 2009 19:04:18 +0000
> From: jira@apache.org
> To: aries-dev@incubator.apache.org
> Subject: [jira] Created: (ARIES-79) Implement extender for detecting persitence units.
> 
> Implement extender for detecting persitence units.
> --------------------------------------------------
> 
>                  Key: ARIES-79
>                  URL: https://issues.apache.org/jira/browse/ARIES-79
>              Project: Aries
>           Issue Type: New Feature
>           Components: JPA
>     Affects Versions: Incubation
>             Reporter: Adam Wojtuniak
> 
> 
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
 		 	   		  
_________________________________________________________________
Add your Gmail and Yahoo! Mail email accounts into Hotmail - it's easy
http://clk.atdmt.com/UKM/go/186394592/direct/01/

[jira] Work started: (ARIES-79) Implement extender for detecting persitence units.

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

Work on ARIES-79 started by Timothy Ward.

> Implement extender for detecting persitence units.
> --------------------------------------------------
>
>                 Key: ARIES-79
>                 URL: https://issues.apache.org/jira/browse/ARIES-79
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>    Affects Versions: Incubation
>            Reporter: Adam Wojtuniak
>            Assignee: Timothy Ward
>
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 

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


[jira] Resolved: (ARIES-79) Implement extender for detecting persitence units.

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

Timothy Ward resolved ARIES-79.
-------------------------------

    Resolution: Fixed

As noted in a  previous comment, there are definite improvements that can be made to this implementation.

As there has already been a lot of work delivered under this JIRA, I propose that the remaining work be added under other, smaller items. This will help to identify which code provides each function, and will give other developers chance to understand and contribute to the JPA container

> Implement extender for detecting persitence units.
> --------------------------------------------------
>
>                 Key: ARIES-79
>                 URL: https://issues.apache.org/jira/browse/ARIES-79
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>    Affects Versions: Incubation
>            Reporter: Adam Wojtuniak
>            Assignee: Timothy Ward
>
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 

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


[jira] Commented: (ARIES-79) Implement extender for detecting persitence units.

Posted by "Timothy Ward (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12800261#action_12800261 ] 

Timothy Ward commented on ARIES-79:
-----------------------------------

I have been working through this JIRA and have managed the following

Persistence bundles are detected based on the Meta-Persistence header, any persistence descriptors are then parsed.

The parsed data is used to select a PersistenceProvider and turned into PersistenceUnitInfo(s)

The PersistenceUnitInfo(s) are used to make EntityManagerFactory objects, which are registered in the service registry, all based on the persistence bundle's lifecycle.


I have not covered the following:

Add exports from associated provider to persistence unit bundle imports 
Support for bytecode weaving

As this is a very large JIRA, I am going to suggest that this JIRA is closed off and the items not covered so far are raised as new JIRAs.

This will give other people a chance to review and understand the code now it has a useful set of core function.

> Implement extender for detecting persitence units.
> --------------------------------------------------
>
>                 Key: ARIES-79
>                 URL: https://issues.apache.org/jira/browse/ARIES-79
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>    Affects Versions: Incubation
>            Reporter: Adam Wojtuniak
>            Assignee: Timothy Ward
>
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 

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


[jira] Updated: (ARIES-79) Implement extender for detecting persitence units.

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

Jeremy Hughes updated ARIES-79:
-------------------------------

    Fix Version/s: 0.1

> Implement extender for detecting persitence units.
> --------------------------------------------------
>
>                 Key: ARIES-79
>                 URL: https://issues.apache.org/jira/browse/ARIES-79
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>    Affects Versions: Incubation
>            Reporter: Adam Wojtuniak
>            Assignee: Timothy Ward
>             Fix For: 0.1
>
>
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 

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


[jira] Assigned: (ARIES-79) Implement extender for detecting persitence units.

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

Timothy Ward reassigned ARIES-79:
---------------------------------

    Assignee: Timothy Ward  (was: Alan Keane)

> Implement extender for detecting persitence units.
> --------------------------------------------------
>
>                 Key: ARIES-79
>                 URL: https://issues.apache.org/jira/browse/ARIES-79
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>    Affects Versions: Incubation
>            Reporter: Adam Wojtuniak
>            Assignee: Timothy Ward
>
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 

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


[jira] Assigned: (ARIES-79) Implement extender for detecting persitence units.

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

Alan Keane reassigned ARIES-79:
-------------------------------

    Assignee: Alan Keane

> Implement extender for detecting persitence units.
> --------------------------------------------------
>
>                 Key: ARIES-79
>                 URL: https://issues.apache.org/jira/browse/ARIES-79
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>    Affects Versions: Incubation
>            Reporter: Adam Wojtuniak
>            Assignee: Alan Keane
>
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 

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


[jira] Work stopped: (ARIES-79) Implement extender for detecting persitence units.

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

Work on ARIES-79 stopped by Timothy Ward.

> Implement extender for detecting persitence units.
> --------------------------------------------------
>
>                 Key: ARIES-79
>                 URL: https://issues.apache.org/jira/browse/ARIES-79
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>    Affects Versions: Incubation
>            Reporter: Adam Wojtuniak
>            Assignee: Timothy Ward
>
> Detect persistence unit bundles based on the presence of persistence.xml
> Read all of the persistence unit metadata from the persistence.xml file
> Associate a provider with each persistence unit (using the name and version resolving)
> Add exports from associated provider to persistence unit bundle imports 

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