users@glassfish.java.net

Re: EntityManager's forced version update (lock(WRITE) + flush()) not atomi

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Nov 2008 12:08:07 PST

I was wrong :(.

Flush causes an update lock on the row and T1 commit will wait until the lock is released, i.e. until T2 commits.

Sorry about the confusion.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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