OPENJPA-704: Add field names of path-like syntax

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@696590 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2008-09-18 07:57:51 +00:00
parent 5600a778c9
commit 9803879ff9
1 changed files with 3 additions and 1 deletions

View File

@ -594,7 +594,9 @@ public class FetchConfigurationImpl
|| (fmd.isInDefaultFetchGroup() || (fmd.isInDefaultFetchGroup()
&& hasFetchGroupDefault()) && hasFetchGroupDefault())
|| hasField(fmd.getFullName(false)) || hasField(fmd.getFullName(false))
|| hasField(fmd.getRealName())) // OPENJPA-704 || hasField(fmd.getRealName()) // OPENJPA-704
|| (_fromField != null
&& hasField(_fromField + "." + fmd.getName())))
return true; return true;
String[] fgs = fmd.getCustomFetchGroups(); String[] fgs = fmd.getCustomFetchGroups();
for (int i = 0; i < fgs.length; i++) for (int i = 0; i < fgs.length; i++)