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
This commit is contained in:
Helen Xu 2013-01-22 21:38:21 +00:00
parent e63abd92a7
commit e12dcddc38
1 changed files with 5 additions and 0 deletions

View File

@ -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.