]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
QueryCaching broke DiagramViewer 90/2590/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 2 Jan 2019 15:29:22 +0000 (17:29 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 2 Jan 2019 15:29:22 +0000 (17:29 +0200)
gitlab #5

Change-Id: I510bdb56e57d6ff5dd17e72683f21265a5d91f22

bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/QueryCache.java

index 2fca451d66c14f97e6c70c31fdbf43d1969e0ce1..48d5646c27eaa3aaeee3ac636f78e165d968e7c9 100644 (file)
@@ -19,7 +19,9 @@ import org.simantics.db.request.Read;
 
 public class QueryCache extends QueryCacheBase {
 
 
 public class QueryCache extends QueryCacheBase {
 
-    private static final boolean SINGLE = true;
+    // Using QueryChaching breaks Diagram Editor (and probably something else). 
+       private static final boolean SINGLE = false;
+    
     public QueryCache(QuerySupport querySupport, int threads) {
         super(querySupport, threads);
     }
     public QueryCache(QuerySupport querySupport, int threads) {
         super(querySupport, threads);
     }