aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Ward (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ARIES-81) Implement support for PersistenceUnit service
Date Thu, 10 Dec 2009 12:10:19 GMT

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


Mime
View raw message