users@glassfish.java.net

EntityManager's forced version update (lock(WRITE) + flush()) not atomic

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Nov 2008 00:19:15 PST

Hello,

i was wondering what happens in slide 42 here (http://developers.sun.com/learning/javaoneonline/2007/pdf/TS-4902.pdf ) if T1's commit() takes place between the lock() and flush() calls of T2.

Both transactions commit succesfully?
[Message sent by forum member 'vladbalan' (vladbalan)]

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