[
https://issues.apache.org/jira/browse/ARIES-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Keane updated ARIES-81:
----------------------------
Description:
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.
was:The PersistenceUnitInfoService interface provides an abstraction layer
over the metadata contained in the persistence.xml file, as well as some
additional information that can obtained by virtue of the extender having
detected the bundle. The extender knows the bundle specifics and can pass the
relevant information on to containers or providers.
Summary: Implement support for PersistenceUnit service (was: Implement
support for PersistenceUnitInfoService)
> 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.