Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356947

Summary: Acceleo quey cache should be (dis)activable query per query
Product: [Modeling] Acceleo Reporter: Laurent Delaigue <laurent.delaigue>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: laurent.goubet
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Laurent Delaigue CLA 2011-09-07 10:48:57 EDT
Build Identifier: 

I want to benefit from acceleo's cache when executing most queries, but I also need som queries to be evaluated each time they are called, because they are stateful and must not always return the same result for instance.
A syntax like a "pragma(no-cache)" should be added to the MTL language if necessary...

Reproducible: Always
Comment 1 Laurent Goubet CLA 2016-04-04 08:41:12 EDT
The specification clearly mentions that two evaluations of a given query with the same parameters _must_ return the same value, hence the presence of the cache. We have a global preference to disable this cache everywhere, but there are no plans to make changes to the actual syntax to allow for uncached query evaluations on-demand.