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

Christian Schneider resolved ARIES-1349.
----------------------------------------
    Resolution: Fixed

> EmfProxy.close should close tracker instead of EMF
> --------------------------------------------------
>
>                 Key: ARIES-1349
>                 URL: https://issues.apache.org/jira/browse/ARIES-1349
>             Project: Aries
>          Issue Type: Bug
>          Components: JPA
>    Affects Versions: jpa-2.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: jpa-2.1.0
>
>
> EmfProxy.close() is called when the blueprint bean is destroyed.
> Currently this is forwarded to the EntitymanagerFactory. The 
> EntityManagerFactory should only be closed by jpa.container bundle though.
> On the other hand the tracker is never closed. 
> So we should catch the close call and close only the tracker.
> Additionally there are two catch clauses that should throw an exception but 
> only create it.



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

Reply via email to