You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2017/02/23 11:18:44 UTC

[jira] [Assigned] (ARIES-1670) Aries JPA should register EntityManagerFactory services after use of the EntityManagerFactory Builder

     [ https://issues.apache.org/jira/browse/ARIES-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider reassigned ARIES-1670:
------------------------------------------

    Assignee:     (was: Christian Schneider)

> Aries JPA should register EntityManagerFactory services after use of the EntityManagerFactory Builder
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ARIES-1670
>                 URL: https://issues.apache.org/jira/browse/ARIES-1670
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>    Affects Versions: jpa-2.6.0
>            Reporter: Timothy Ward
>
> Support for version 1.1 of the OSGi JPA Service. Ensuring that the EMF becomes visible as a service with the relevant service properties, and that it is re-registered after rebinding configuration.
> "In the case of an incomplete Persistence Unit no Entity Manager Factory can be initially registered, however once configured using an Entity Manager Factory Builder service the JPA Service must register the created Entity Manager Factory as a service. The registered service must include any sup- plied configuration properties that match the recommended OSGi service property types as service properties. The javax.persistence.jdbc.password property must be omitted from these service properties.
> If the Entity Manager Factory Builder service is later used to change the configuration being used by the Entity Manager Factory Service then the registered Entity Manager Factory service must be unregistered and the new object registered."



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)