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

Christian Schneider resolved ARIES-1433.
----------------------------------------
    Resolution: Won't Fix

We can not add the services when the bundle is in state resolved. 

Interestingly the case of a combined bundle with persistence unit and consumers 
of the EntityManager services seems to work. So this is not a big issue.

See https://github.com/cschneider/jpa.blueprint.test

> Persistence units are not picked up while bundle is in status resolved
> ----------------------------------------------------------------------
>
>                 Key: ARIES-1433
>                 URL: https://issues.apache.org/jira/browse/ARIES-1433
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>    Affects Versions: jpa-2.2.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: jpa-2.3.0
>
>
> Currently the PersistenceBundleTracker only watches bundle in state 
> Bundle.STARTING | Bundle.ACTIVE.
> So if you put a persistence unit definition and a blueprint JPA bean using 
> the persistence unit into the same bundle then it will never start.
> We should also track bundles in state resolved.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to