mirror of https://github.com/apache/openjpa.git
OPENJPA-1424: Fix. Do not lookup extraFieldData with another mapping's field
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@889798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82aece9711
commit
e5ba74a9fc
|
@ -704,7 +704,8 @@ public class RelationFieldStrategy
|
|||
|
||||
boolean isLocked = res.isLocking();
|
||||
try {
|
||||
res.setLocking(store.getLockManager().skipRelationFieldLock());
|
||||
if (store.getLockManager() != null)
|
||||
res.setLocking(store.getLockManager().skipRelationFieldLock());
|
||||
sm.storeObject(field.getIndex(), res.load(cls, store, fetch,
|
||||
eagerJoin(res.newJoins(), cls, false)));
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue