openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hele...@apache.org
Subject svn commit: r1437190 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
Date Tue, 22 Jan 2013 21:38:22 GMT
Author: helenxu
Date: Tue Jan 22 21:38:21 2013
New Revision: 1437190

URL: http://svn.apache.org/viewvc?rev=1437190&view=rev
Log:
OPENJPA-2295 restore the old method to be compatible.

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java?rev=1437190&r1=1437189&r2=1437190&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/meta/MetaDataRepository.java
Tue Jan 22 21:38:21 2013
@@ -2039,6 +2039,11 @@ public class MetaDataRepository implemen
             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.



Mime
View raw message