aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Ward (JIRA)" <>
Subject [jira] Commented: (ARIES-80) Provide persistence unit metadata parser
Date Thu, 10 Dec 2009 11:56:18 GMT


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.

> Provide persistence unit metadata parser
> ----------------------------------------
>                 Key: ARIES-80
>                 URL:
>             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.

View raw message