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

Christian Schneider commented on ARIES-1433:
--------------------------------------------

I am not sure if we can make this work at all. When the persistence unit is 
processed we would like to register a service for the EMF on behalf of the 
bundle. This is only possible for bundles in state Active as far as I know.

> 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