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 12:12:35 PST

I'm not sure how optimistic locking could ever prevent dirty-reads for READ_UNCOMMITTED (regardless of when you actually lock()). Then again, maybe others know. James Sutherland from EclipseLink should know for sure.
[Message sent by forum member 'cowwoc' (cowwoc)]

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