You can use entityManager.clear() to detach all (!) entities from the entity manager. Changes to detached entities will only be written after a merge to the db.
A much cleaner soluction (IMHO) to the problem are Seam's long running transactions. Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033853#4033853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033853 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
