0 Replies Latest reply on May 7, 2008 5:33 PM by tuxzilla

    session closed in the middle of transaction

    tuxzilla

      I have a transaction enclosing a batch job of 100,000 database records. I get the transaction using


      entityManager.getDelegate().beginTransaction();



      where entityManager is the Seam managed persistent context (default settings)


      
      @In
      
      private EntityManager entityManager;
      
      



      I always get a fail to lazy load ... session closed in the midde of the transaction. Is there a way i can extend the timeout of the session for as long as it takes?


      Thanks.