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 10:48:53 PST

yes, but we're at the objects(entities) in the persistence context level. So i see it like this: T1 updates E in the . T2 gets the new value when it reads E from the persistent context.

Maybe is there a similar READ_COMMITED isolation level for entites in the persistent context?
[Message sent by forum member 'vladbalan' (vladbalan)]

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