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,6 +704,7 @@ public class RelationFieldStrategy
|
||||||
|
|
||||||
boolean isLocked = res.isLocking();
|
boolean isLocked = res.isLocking();
|
||||||
try {
|
try {
|
||||||
|
if (store.getLockManager() != null)
|
||||||
res.setLocking(store.getLockManager().skipRelationFieldLock());
|
res.setLocking(store.getLockManager().skipRelationFieldLock());
|
||||||
sm.storeObject(field.getIndex(), res.load(cls, store, fetch,
|
sm.storeObject(field.getIndex(), res.load(cls, store, fetch,
|
||||||
eagerJoin(res.newJoins(), cls, false)));
|
eagerJoin(res.newJoins(), cls, false)));
|
||||||
|
|
Loading…
Reference in New Issue