You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Alan Keane (JIRA)" <ji...@apache.org> on 2009/12/10 12:28:29 UTC

[jira] Created: (ARIES-80) Provide persistence unit metadata parser

Provide persistence unit metadata parser
----------------------------------------

                 Key: ARIES-80
                 URL: https://issues.apache.org/jira/browse/ARIES-80
             Project: Aries
          Issue Type: New Feature
          Components: JPA
            Reporter: Alan Keane


The persistence.xml metadata is represented as a Map of properties in the PersistenceUnitInfoService class. Each XML element or attribute corresponds to a dedicated property name in the Map, and the extender must mine the file to create the associated property values. If no element or attribute was present in the persistence.xml file  there will be no entry in the Map for that property. Multiple XML elements are represented as properties with List values.

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


[jira] Updated: (ARIES-80) Provide persistence unit metadata parser

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

Alan Keane updated ARIES-80:
----------------------------

    Description: Provide a parser service for persistent.xml files  (was: The persistence.xml metadata is represented as a Map of properties in the PersistenceUnitInfoService class. Each XML element or attribute corresponds to a dedicated property name in the Map, and the extender must mine the file to create the associated property values. If no element or attribute was present in the persistence.xml file  there will be no entry in the Map for that property. Multiple XML elements are represented as properties with List values.)

Changing description in line with what is available in the public draft..

The task was initially based on the extender responsibilities outlined in section 5.9.1 of RFC 0143

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>            Assignee: Alan Keane
>
> Provide a parser service for persistent.xml files

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


[jira] Assigned: (ARIES-80) Provide persistence unit metadata parser

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

Alan Keane reassigned ARIES-80:
-------------------------------

    Assignee: Timothy Ward  (was: Alan Keane)

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>            Assignee: Timothy Ward
>
> Provide a parser service for persistent.xml files

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


[jira] Commented: (ARIES-80) Provide persistence unit metadata parser

Posted by "Alan Keane (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788693#action_12788693 ] 

Alan Keane commented on ARIES-80:
---------------------------------

Agreed..

Apologies, I was working from the RFC which looks to be out of sync.
I have updated ARIES-81 accordingly

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>
> The persistence.xml metadata is represented as a Map of properties in the PersistenceUnitInfoService class. Each XML element or attribute corresponds to a dedicated property name in the Map, and the extender must mine the file to create the associated property values. If no element or attribute was present in the persistence.xml file  there will be no entry in the Map for that property. Multiple XML elements are represented as properties with List values.

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


[jira] Assigned: (ARIES-80) Provide persistence unit metadata parser

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

Alan Keane reassigned ARIES-80:
-------------------------------

    Assignee: Alan Keane

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>            Assignee: Alan Keane
>
> The persistence.xml metadata is represented as a Map of properties in the PersistenceUnitInfoService class. Each XML element or attribute corresponds to a dedicated property name in the Map, and the extender must mine the file to create the associated property values. If no element or attribute was present in the persistence.xml file  there will be no entry in the Map for that property. Multiple XML elements are represented as properties with List values.

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


[jira] Commented: (ARIES-80) Provide persistence unit metadata parser

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

Timothy Ward commented on ARIES-80:
-----------------------------------

I believe that creating a simple, common, performant, validating parser for JPA v1.0 and JPA v2.0 xml files as a utility would be very useful to the Aries project.

I would like to point out that there is no PersistenceUnitInfoService class defined by the draft specification of the OSGi Persistence Unit service or the Java Persisence API specifications. We should not base our implementation on non-public RFC documents. Especially when a more recent version of the specification is available as a public draft.

http://www.osgi.org/download/osgi-4.2-enterprise-early-draft4.pdf

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>
> The persistence.xml metadata is represented as a Map of properties in the PersistenceUnitInfoService class. Each XML element or attribute corresponds to a dedicated property name in the Map, and the extender must mine the file to create the associated property values. If no element or attribute was present in the persistence.xml file  there will be no entry in the Map for that property. Multiple XML elements are represented as properties with List values.

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


[jira] Resolved: (ARIES-80) Provide persistence unit metadata parser

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

Timothy Ward resolved ARIES-80.
-------------------------------

       Resolution: Fixed
    Fix Version/s: Incubation

Available thorough the PersistenceDescriptorParser

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>            Assignee: Timothy Ward
>             Fix For: Incubation
>
>
> Provide a parser service for persistent.xml files

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


[jira] Work started: (ARIES-80) Provide persistence unit metadata parser

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

Work on ARIES-80 started by Timothy Ward.

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>            Assignee: Timothy Ward
>
> Provide a parser service for persistent.xml files

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


[jira] Commented: (ARIES-80) Provide persistence unit metadata parser

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

Timothy Ward commented on ARIES-80:
-----------------------------------

Some JPA parsing code is available at https://svn.apache.org/repos/asf/incubator/aries/contrib/ibm/com.ibm.osgi.jpa.unit.manager/src/com/ibm/osgi/jpa/unit/parsing/

Feel free to use that as a start point

> Provide persistence unit metadata parser
> ----------------------------------------
>
>                 Key: ARIES-80
>                 URL: https://issues.apache.org/jira/browse/ARIES-80
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>            Assignee: Alan Keane
>
> Provide a parser service for persistent.xml files

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