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

Reply via email to