You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Timothy Ward (JIRA)" <ji...@apache.org> on 2010/01/14 18:30:54 UTC

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

    [ 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.