From cd5014ee5405c2d2c62d9fbdd9f081a1c0132939 Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Fri, 12 Sep 2008 16:10:17 +0000 Subject: [PATCH] OPENJPA-704: Changes were not assocaited with JIRA issue which was created after the change :) git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@694720 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/kernel/FetchConfigurationImpl.java | 2 +- .../src/main/java/org/apache/openjpa/meta/FieldMetaData.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfigurationImpl.java b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfigurationImpl.java index 40b44d1da..4d45d3002 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfigurationImpl.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/FetchConfigurationImpl.java @@ -594,7 +594,7 @@ public class FetchConfigurationImpl || (fmd.isInDefaultFetchGroup() && hasFetchGroupDefault()) || hasField(fmd.getFullName(false)) - || hasField(fmd.getRealName())) + || hasField(fmd.getRealName())) // OPENJPA-704 return true; String[] fgs = fmd.getCustomFetchGroups(); for (int i = 0; i < fgs.length; i++) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java index 6a8c91b90..ec6ea88ab 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/FieldMetaData.java @@ -353,6 +353,7 @@ public class FieldMetaData * The field name, qualified by the defining class. */ public String getRealName() { + // Added to support OPENJPA-704 return getDefiningMetaData().getDescribedType().getName() + "." + _name; }