users@glassfish.java.net

Re: em.flush() doesn't work

From: <glassfish_at_javadesktop.org>
Date: Sat, 30 May 2009 19:45:21 PDT

Thanks for all the replies here. I understand about the commit. But what I want to do is to flush the dirty before the whole process completes. Is there any method in EJB or any setting in the container I can commit after persisting an object? Or commit every 500 objects? I don't want to rerun the whole thing just because the last object failed. Please help
[Message sent by forum member 'senderj' (senderj)]

http://forums.java.net/jive/thread.jspa?messageID=348532