English 中文(简体)
How do I enable caching for XML data sets in Birt 2.5
原标题:
  • 时间:2010-02-03 08:48:15
  •  标签:
  • caching
  • birt

I am building a simple BIRT report using an XML data source. However, I had to use 3 different views (3 cross-tabs) of the same data on the same report. While running the report, I noticed that BIRT was firing multiple calls to fetch the XML file (hosted in a web-server). I have tried fiddling with the settings tab of the edit screen of the data set. But the behavior does not seem to change. I would really appreciate if anybody can help me identify what is going on. Also how do I ensure that a data-set is fetched only once during the rendering of a report

Thanks in advance

最佳回答

The data set should only be fetched 1 time. Do you have three data sets for the report, each one representing a different sub-set of fields? If so that would explain the three separate fetches.

Can you create a single large data set that satisfies all the cross-tabs and then use run-time filters to produce the individual sub-sets you need? Another option would be to consume your XML via a POJO and leverage it in the BIRT report as a scripted data set. This would certainly give you the control you are looking for.

If you are interested in looking at building a scripted data set, have a lok here for a bit of backaground. accessing parameters when writing a scripted BIRT data source in java

Good Luck!

问题回答

暂无回答




相关问题
Write-though caching of large data sets in WCF?

We ve got a smart client that talks to a SQL Server database via WCF, displaying the entities in the database, and allowing the user to edit those entities. Some of the WCF calls return a large data ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

how to tell clicking "back" to load cache?

I would like for my site when someone clicks "Back" or "Forward" for the server to tell the browser to load the cache instead of reloading the entire page. I ve tested some headers and done research, ...

java plugin cache and dynamic IP host

I m trying to use Amazon S3 and Amazon Cloudfront CDN to deliver the jar files of my applet application. I m seeing several cache misses of my jars by the java plugin. This is a show-stopper for me, ...

Frequently Used metadata Hashmap

Are there any implementations of a static size hashtable that limits the entries to either the most recently or most frequently used metadata? I would prefer not to keep track of this information ...

PHP - Memcache - HTML Caching

I would like to create a caching system that will bypass some mechanisms in order to improve the performance. I have some examples: 1-) I have a dynamic PHP page that is updated every hour. The page ...

Performance of Sql subqueriesfunctions

I am currently working on a particularly complex use-case. Simplifying below :) First, a client record has a many-to-one relationship with a collection of services, that is, a single client may have ...

热门标签