6 Replies Latest reply on Oct 8, 2007 5:16 AM by Marius Oancea

    Seam @In EntityManager vs. Extended Persistence context.

    Marius Oancea Novice

      I;ve build a tree using richfaces and seam. The tree model is saved into a session stateful component.

      @Stateful
      @Scope(SESSION)
      @Name("leftTreeBean")


      I used Extended Persisence Context and all works but it seems that that exteded persistence context does not propagate into DAO objects (Stateless session beans).

      If I switch to seam managed persistence tree does not work (i supose because seam managed persistend only work inside conversation - and this cannot be the case because the tree is displayed all the time).

      How can I make the dao called from "leftTreeBean" use the same EntityManager?