You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org> on 2011/07/11 10:20:59 UTC

[jira] [Created] (OPENEJB-1628) Calling a @Remove method must also close persistence contexts

Calling a @Remove method must also close persistence contexts
-------------------------------------------------------------

                 Key: OPENEJB-1628
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1628
             Project: OpenEJB
          Issue Type: Bug
            Reporter: Jean-Louis MONTEIRO
            Assignee: Jean-Louis MONTEIRO


As per the spec, when calling an @Remove method, all persistence contexts attached must also be closed.

                7.6.2 Container-managed Extended Persistence Context
                A container-managed extended persistence context can only be initiated within the scope of a stateful
                session bean. It exists from the point at which the stateful session bean that declares a dependency on an
                entity manager of type PersistenceContextType.EXTENDED is created, and is said to be bound
                to the stateful session bean. The dependency on the extended persistence context is declared by means
                of the PersistenceContext annotation or persistence-context-ref deployment descriptor element.
                The persistence context is closed by the container when the @Remove method of the stateful session
                bean completes (or the stateful session bean instance is otherwise destroyed).
 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (OPENEJB-1628) Calling a @Remove method must also close persistence contexts

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO reopened OPENEJB-1628:
------------------------------------------


Not fixed because of inherited persistence context

> Calling a @Remove method must also close persistence contexts
> -------------------------------------------------------------
>
>                 Key: OPENEJB-1628
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1628
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>             Fix For: 4.0
>
>
> As per the spec, when calling an @Remove method, all persistence contexts attached must also be closed.
>                 7.6.2 Container-managed Extended Persistence Context
>                 A container-managed extended persistence context can only be initiated within the scope of a stateful
>                 session bean. It exists from the point at which the stateful session bean that declares a dependency on an
>                 entity manager of type PersistenceContextType.EXTENDED is created, and is said to be bound
>                 to the stateful session bean. The dependency on the extended persistence context is declared by means
>                 of the PersistenceContext annotation or persistence-context-ref deployment descriptor element.
>                 The persistence context is closed by the container when the @Remove method of the stateful session
>                 bean completes (or the stateful session bean instance is otherwise destroyed).
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENEJB-1628) Calling a @Remove method must also close persistence contexts

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO closed OPENEJB-1628.
----------------------------------------

    Resolution: Fixed

ok finally, i got it fixed

> Calling a @Remove method must also close persistence contexts
> -------------------------------------------------------------
>
>                 Key: OPENEJB-1628
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1628
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>             Fix For: 4.0
>
>
> As per the spec, when calling an @Remove method, all persistence contexts attached must also be closed.
>                 7.6.2 Container-managed Extended Persistence Context
>                 A container-managed extended persistence context can only be initiated within the scope of a stateful
>                 session bean. It exists from the point at which the stateful session bean that declares a dependency on an
>                 entity manager of type PersistenceContextType.EXTENDED is created, and is said to be bound
>                 to the stateful session bean. The dependency on the extended persistence context is declared by means
>                 of the PersistenceContext annotation or persistence-context-ref deployment descriptor element.
>                 The persistence context is closed by the container when the @Remove method of the stateful session
>                 bean completes (or the stateful session bean instance is otherwise destroyed).
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (OPENEJB-1628) Calling a @Remove method must also close persistence contexts

Posted by "Jean-Louis MONTEIRO (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Louis MONTEIRO closed OPENEJB-1628.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

> Calling a @Remove method must also close persistence contexts
> -------------------------------------------------------------
>
>                 Key: OPENEJB-1628
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1628
>             Project: OpenEJB
>          Issue Type: Bug
>            Reporter: Jean-Louis MONTEIRO
>            Assignee: Jean-Louis MONTEIRO
>             Fix For: 4.0
>
>
> As per the spec, when calling an @Remove method, all persistence contexts attached must also be closed.
>                 7.6.2 Container-managed Extended Persistence Context
>                 A container-managed extended persistence context can only be initiated within the scope of a stateful
>                 session bean. It exists from the point at which the stateful session bean that declares a dependency on an
>                 entity manager of type PersistenceContextType.EXTENDED is created, and is said to be bound
>                 to the stateful session bean. The dependency on the extended persistence context is declared by means
>                 of the PersistenceContext annotation or persistence-context-ref deployment descriptor element.
>                 The persistence context is closed by the container when the @Remove method of the stateful session
>                 bean completes (or the stateful session bean instance is otherwise destroyed).
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira