users@glassfish.java.net

Re: How does an explicit EntityManager.lock() call prevent dirty reads in JPA

From: <glassfish_at_javadesktop.org>
Date: Mon, 10 Nov 2008 09:11:27 PST

And also, the transaction doing the dirty-read (in your example T1) is the first to commit before the one doing the edit. So once again, your example is different from the definition.

would be happy to have your opinion on all this.
[Message sent by forum member 'vladbalan' (vladbalan)]

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