Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356947 - Acceleo quey cache should be (dis)activable query per query
Summary: Acceleo quey cache should be (dis)activable query per query
Status: CLOSED WONTFIX
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 10:48 EDT by Laurent Delaigue CLA
Modified: 2016-04-04 08:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.