[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1348) PersistenceContext is not "untouched" on destory

Michael Youngstrom (JIRA) jira-events at lists.jboss.org
Tue May 29 18:03:08 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1348?page=comments#action_12363466 ] 
            
Michael Youngstrom commented on JBSEAM-1348:
--------------------------------------------

Works great and fixed my problem.

Thanks.

> PersistenceContext is not "untouched" on destory
> ------------------------------------------------
>
>                 Key: JBSEAM-1348
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1348
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.1.GA
>            Reporter: Michael Youngstrom
>         Assigned To: Shane Bryzak
>             Fix For: 1.3.0.ALPHA
>
>
> I have a persistence context that I wish to only be created within a nested conversation and destroyed when that nested conversation ends.
> However, after my nested conversation ends and my PersistenceContext destroyed it is being recreated in my outer conversation when PassivatedEntity.createPassivatedEntity iterates through all of the "touched" PersistenceContexts.
> This could be fixed by "untouching" PersistenceContexts when in the @Destory method of ManagedPersistenceContext.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list