From 2f5d52b7e703327cc6047b641d66e79f860c2bf0 Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Fri, 6 Jul 2007 23:21:06 +0000 Subject: [PATCH] OPENJPA-280. Committing for David Ezzio. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@554083 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 4c204229a..97611005e 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(owner, null, false); + return _repos.getMetaData(_meta.getDescribedType(), null, false); } /**