#1060 - findSingleAttributeList doesn't store result in L2 query cache

This commit is contained in:
rob bygrave
2017-07-06 21:35:20 +12:00
parent 7a697c12af
commit 95aed6af54
7 changed files with 74 additions and 30 deletions
@@ -1163,15 +1163,15 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
/**
* Get a query result from the query cache.
*/
public BeanCollection<T> queryCacheGet(Object id) {
public Object queryCacheGet(Object id) {
return cacheHelp.queryCacheGet(id);
}
/**
* Put a query result into the query cache.
*/
public void queryCachePut(Object id, BeanCollection<T> query) {
cacheHelp.queryCachePut(id, query);
public void queryCachePut(Object id, Object queryResult) {
cacheHelp.queryCachePut(id, queryResult);
}
/**