Merge 690383 from 0.9.7 to 1.1.x.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/1.1.x@713822 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
A. Abram White 2008-11-13 21:02:33 +00:00
parent 50d80f5b6d
commit 6ade5e9e35
1 changed files with 4 additions and 1 deletions

View File

@ -488,8 +488,11 @@ public class PCPath
}
for (; from != null && from != to;
from = from.getJoinablePCSuperclassMapping())
from = from.getJoinablePCSuperclassMapping()) {
pstate.field = from.getFieldMapping(pstate.field
.getName());
pstate.joins = from.joinSuperclass(pstate.joins, false);
}
}
// nothing more to do from here on as we encountered an xpath action
if (action.op == Action.GET_XPATH)