I have a transaction enclosing a batch job of 100,000 database records. I get the transaction using
where entityManager is the Seam managed persistent context (default settings)
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?
fail to lazy load ... session closed
Retrieving data ...