From e12dcddc388e417102a4d0f6db39060a25c232e6 Mon Sep 17 00:00:00 2001 From: Helen Xu Date: Tue, 22 Jan 2013 21:38:21 +0000 Subject: [PATCH] OPENJPA-2295 restore the old method to be compatible. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1437190 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/meta/MetaDataRepository.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java index 56b09a126..b5bdc94a2 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java @@ -2039,6 +2039,11 @@ public class MetaDataRepository implements PCRegistry.RegisterClassListener, Con return (QueryMetaData[]) _queries.values().toArray(new QueryMetaData[_queries.size()]); } } + + + public QueryMetaData getCachedQueryMetaData(Class cls, String name) { + return getCachedQueryMetaData(name); + } /** * Return the cached query metadata for the given name.