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:
Pinaki Poddar 2009-12-11 20:27:05 +00:00
parent 82aece9711
commit e5ba74a9fc
1 changed files with 2 additions and 1 deletions

View File

@ -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 {