1 Reply Latest reply on Oct 12, 2008 3:05 PM by pmuir

    New Topic Transaction demarcation with seam-controlled entity manager

    sambolino.sambolino.gmail.com

      Hello,


      How can I get separate (seam managed) entity manager instances for session and conversation bean? In session bean, I need method demarcation of transactions (e.g. changing skin and saving it) while various conversation beans use manual flush.


      What happens here - if no conversation is active, and I change the skin, I get first instance of em, but nothing is flushed. After beginning conversation, i get another instance in conversation bean and that instance is shared with session bean.


      Thanks