Skip to content
Snippets Groups Projects
Verified Commit 0049eaf6 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-query-caching' into tmp-2020-12-23

parents 25659c01 49673e7a
Branches tmp-2020-12-23
No related tags found
No related merge requests found
......@@ -507,6 +507,7 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
public Query execute(final Access access) throws ParsingException {
parse();
setAccess(access);
this.resultSet = getCached(this.query);
if (this.resultSet == null) {
......@@ -556,12 +557,8 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
}
protected void executeNoCache(Access access) {
setAccess(access);
try {
this.resultSet = getResultSet(executeStrategy(this.versioned), this.versioned);
} finally {
cleanUp();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment