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 11:48:31 PST

As far as I know, JPA is always based on top of relational databases and as such there is no distinction between the persistence context level and database level. In short, if you are using READ_COMMITTED isolation level, different transactions should never see dirty reads from one another.
[Message sent by forum member 'cowwoc' (cowwoc)]

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