Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the 
discussion

"Re: Is WorkingMemoryLogger working?"

To view the discussion, visit: http://community.jboss.org/message/622398#622398

--------------------------------------------------------------
Yes I saw that behavior before. That's probably because the you are persisting 
the session and the Environment keeps a reference to the old entity manager 
that has some value cached. When you reinitialize the environment to load once 
again the session you clean that object and the session is restored completely 
fromt the BD and works again without an inconsistent state. 
If you think about the purpose of loading a session, is that you will load the 
session in a different thread where you need to initialize the environment once 
again. Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/622398#622398]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to