1 Reply Latest reply on Apr 8, 2011 2:01 PM by Leo van den berg

    Seam and EJB Transaction BIG Problem

    Ronaldo Rigoni Newbie

      Hello all,


      I setup a big project with seam and EJB on the service layer(transactional layer).
      The problem is, when in the conversation scope, I retrieve an entity in the EJB the transaction is opened and closed.
      But, there is a session opened in the conversation scope, any change in the entity or in the Hibernate's Bag/List is replicated to the database (Flushed).
      The FlushMode is configured as AUTO.


      I need basically mantain the session to lazyloading operations, but without a transaction opened to that session. Is it possible to set up?


      Please help-me, suggestions please.


      Regards