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 2009/12/10 13:10:19 UTC

[jira] Commented: (ARIES-81) Implement support for PersistenceUnit service

    [ https://issues.apache.org/jira/browse/ARIES-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788694#action_12788694 ] 

Timothy Ward commented on ARIES-81:
-----------------------------------

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 implement an OSGi interface that does not exist in the public domain. 

The most recent public draft of the OSGi Persistence Unit Service is here:

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

I believe ARIES-79 and 80 are better places to start with the Aries JPA support.

> Implement support for PersistenceUnit service
> ---------------------------------------------
>
>                 Key: ARIES-81
>                 URL: https://issues.apache.org/jira/browse/ARIES-81
>             Project: Aries
>          Issue Type: New Feature
>          Components: JPA
>            Reporter: Alan Keane
>
> The Persistence Unit service acts as the client doorway to JPA. It is registered under the
> org.osgi.jpa.PersistenceUnit service interface name. Clients that want to access and
> operate on entities in a particular named persistence unit look up the service and use it to obtain a
> JPA entity manager factory, from which an entity manager and other JPA artifacts can be
> subsequently obtained.
> The service is implemented as a ServiceFactory so that when a client looks up the service the
> provider can identify the dependencies of the calling client. The provider must then create an entity
> manager factory for the persistence unit version corresponding to the calling client's dependencies.

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