diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
index 6357e320d..a89550bf4 100644
--- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
+++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/BrokerImpl.java
@@ -780,17 +780,15 @@ public class BrokerImpl
// after making instance transactional for locking
if (!sm.isTransactional() && useTransactionalState(fetch))
sm.transactional();
- boolean loaded = sm.isLoading();
- if (!loaded) {
- try {
- loaded = sm.load(fetch, StateManagerImpl.LOAD_FGS,
- exclude, edata, false);
- } catch (ObjectNotFoundException onfe) {
- if ((flags & OID_NODELETED) != 0
- || (flags & OID_NOVALIDATE) != 0)
- throw onfe;
- return call.processReturn(oid, null);
- }
+ boolean loaded = false;
+ try {
+ loaded = sm.load(fetch, StateManagerImpl.LOAD_FGS,
+ exclude, edata, false);
+ } catch (ObjectNotFoundException onfe) {
+ if ((flags & OID_NODELETED) != 0
+ || (flags & OID_NOVALIDATE) != 0)
+ throw onfe;
+ return call.processReturn(oid, null);
}
// if no data needed to be loaded and the user wants to
diff --git a/openjpa-project/src/doc/manual/ref_guide_conf.xml b/openjpa-project/src/doc/manual/ref_guide_conf.xml
index d557e3016..93b774f9b 100644
--- a/openjpa-project/src/doc/manual/ref_guide_conf.xml
+++ b/openjpa-project/src/doc/manual/ref_guide_conf.xml
@@ -1955,18 +1955,20 @@ for managing bidirectional relations upon a flush. See
LockManager
-Default: pessimistic
+Default: version
Possible values: none,
-sjvm, pessimistic
+sjvm, pessimistic,
+version
Description: A plugin string (see
) describing a
org.apache.openjpa.kernel.LockManager to use for acquiring
-locks on persistent instances during transactions.
+locks on persistent instances during transactions. See
+ for more information.