diff --git a/DBAccess/src/main/java/gr/uoa/di/madgik/statstool/services/StatsServiceImpl.java b/DBAccess/src/main/java/gr/uoa/di/madgik/statstool/services/StatsServiceImpl.java index 4b4c27b..b90b879 100644 --- a/DBAccess/src/main/java/gr/uoa/di/madgik/statstool/services/StatsServiceImpl.java +++ b/DBAccess/src/main/java/gr/uoa/di/madgik/statstool/services/StatsServiceImpl.java @@ -67,7 +67,7 @@ public List query(List queryList, String orderBy) throws StatsSer throw new StatsServiceException("query " + queryName + " not found!"); } - if (query.isUseCache) { + if (query.isUseCache()) { cacheKey = StatsCache.getCacheKey(querySql, parameters, profile); if (statsCache.exists(cacheKey)) { @@ -97,4 +97,4 @@ public List query(List queryList, String orderBy) throws StatsSer private String getNamedQuery(String queryName) throws IOException { return namedQueryRepository.getQuery(queryName); } -} \ No newline at end of file +}