[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3094) ManagedPersistenceContext throws away entityManager on sessionWillPassivate event

Norman Richards (JIRA) jira-events at lists.jboss.org
Tue Jun 10 12:24:15 EDT 2008


ManagedPersistenceContext throws away entityManager on sessionWillPassivate event
---------------------------------------------------------------------------------

                 Key: JBSEAM-3094
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3094
             Project: Seam
          Issue Type: Bug
            Reporter: Norman Richards
         Assigned To: Norman Richards
             Fix For: 2.0.3.GA, 2.1.0.BETA1


sessionWillPassivate() is called after every request when in clustered mode, so throwing away the em forces conversations entities data to be reloaded on every request.  (and non-conversational ones to detach) I think we can be a bit smarter about this and preserve the em when we haven't actually failed over.

-- 
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