users@glassfish.java.net

Re: JPA - entityManager.flush()

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 May 2007 15:25:11 PDT

Read-committed means that if a data is flushed to the database, but the connection (i.e. the transaction executing on this connection) hasn't been committed yet, no other connection for a different transaction will not see the changes.

This is exactly what you observe. 'parallel transaction' means any other application or the same application running in another (i.e. a "parallel") transaction (or even without an active transaction) at the same time as your current transaction that is in the process of making the changes.

Does it make sense?

thanks,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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