users@glassfish.java.net

em.setFlushMode(FlushModeType.COMMIT)

From: <glassfish_at_javadesktop.org>
Date: Sun, 16 Dec 2007 15:15:38 PST

Hi,

What does this method exactly do?

There is a post in Sun

http://forum.java.sun.com/thread.jspa?threadID=5133390&messageID=9486606

What does the "flushing" do in a transaction? When does the persistence provider perform flush other than commit times?

If we are doing many inserts into database, does having set this parameter make any difference in terms of performance?

Thanks,

Mustafa
[Message sent by forum member 'mcayci' (mcayci)]

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