From 124f615eb51b063bbf2856cd487d168b1da5f839 Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Sat, 7 Jul 2007 01:47:21 +0000 Subject: [PATCH] OPENJPA-280. Correcting my mistaken commit. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554111 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/openjpa/enhance/PCEnhancer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java index 97611005e..1ee16d768 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/enhance/PCEnhancer.java @@ -724,7 +724,7 @@ public class PCEnhancer { if (_meta != null && _meta.getDescribedType().isInterface()) return _meta; - return _repos.getMetaData(_meta.getDescribedType(), null, false); + return _repos.getMetaData(f.getDeclaringClass(), null, false); } /**