[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.birt] Re: How to avoid caching in BIRT 2.2.1
|
- From: Jason Weathersby <jasonweathersby@xxxxxxxxxx>
- Date: Tue, 01 Jul 2008 11:47:27 -0400
- Newsgroups: eclipse.birt
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
Paco,
The caching should be disable by default in the editor in 2.2.1:
You could add the setting in the beforeFactory like this:
importPackage( Packages.org.eclipse.birt.report.service );
var dshandle =
reportContext.getReportRunnable().designHandle.getDesignHandle().findDataSet("Data
Set");
ReportEngineService.getInstance().clearCache( dshandle );
//appcon = reportContext.getAppContext();
//appcon.put("org.eclipse.birt.data.cache.RowLimit", "12");
Use the last two lines if you want to set it.
Jason
Paco wrote:
Hi, I need help with BIRT. I dont know how can I avoid caching in BIRT
2.2.1.
When I try to edit a DataSet I dont have the option "Cache Preference",
this option is not available in BIRT 2.2.1.
How can I do it in this version?
Thanks.