users@glassfish.java.net

Re: JPA - entityManager.flush()

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 May 2007 01:54:11 PDT

Thanks Marina,

This is exactly what I observe,
So what is the meaning of em.flush() in container managed transactions if the data is only comitted at the end of the transaction? only relevant if the entities being accessed by the same EM?

So, I must use a JDBC connection? there's no way to modify entities and commit the changes at a specific time?

Thanks.
[Message sent by forum member 'trouby' (trouby)]

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