Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Data Set Cache if Data Set is used twice
Data Set Cache if Data Set is used twice [message #368496] Thu, 04 June 2009 14:43 Go to next message
Mark Mescher is currently offline Mark MescherFriend
Messages: 21
Registered: July 2009
Junior Member
Hello,
I have a report which contains 1 Table and 2 Charts. All are using the
same Scripted Data Set (developed in Java). Birt is calling the
fetch-Method of the dataset for all 3 items. I thought Birt would cache
the first fetch-Call, this would increase performance...
I've integrated the Reportengine in my Application (Servlet). Is there a
possibility to enable caching for my report?

Thx in advance!

Mark
Re: Data Set Cache if Data Set is used twice [message #368500 is a reply to message #368496] Thu, 04 June 2009 15:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.windstream.net

Mark,

What version of BIRT are you using. In 2.3.2 this should only be called
once. Another thing to try is to bind the first report item to the
dataset and the then the other two to the first report item.

Jason

Mark Mescher wrote:
> Hello,
> I have a report which contains 1 Table and 2 Charts. All are using the
> same Scripted Data Set (developed in Java). Birt is calling the
> fetch-Method of the dataset for all 3 items. I thought Birt would cache
> the first fetch-Call, this would increase performance... I've integrated
> the Reportengine in my Application (Servlet). Is there a possibility to
> enable caching for my report?
>
> Thx in advance!
>
> Mark
>
Re: Data Set Cache if Data Set is used twice [message #368507 is a reply to message #368500] Fri, 05 June 2009 08:22 Go to previous messageGo to next message
Mark Mescher is currently offline Mark MescherFriend
Messages: 21
Registered: July 2009
Junior Member
Hello Jason,
thx for your first help. I'm using the newest "stable" version 2.3.2.
Perhaps I have to activate the Datasetcache by the Reportenginge API? I
havent found anything about this.
One question to your second solution: I can not use the dataset of my
table in the following chart. In the dataset-selection-dialog I only can
select the dataset directly. As report-item I can only select the chart.
The table and the second chart are not listed.
As quick fix it was possible to place the chart in the footer of the table
and to inherit the dataset from container. But this isn't the best
solution because the header of the table is also printed above the charts
when going this way...

Bye

Mark
Re: Data Set Cache if Data Set is used twice [message #368510 is a reply to message #368500] Fri, 05 June 2009 11:20 Go to previous message
Mark Mescher is currently offline Mark MescherFriend
Messages: 21
Registered: July 2009
Junior Member
Hi,
I have upgraded to 2.5.0 m7 for testing purposes. With this version, the
dataset is only called once and the result is reused for the charts. Seems
to be a bug in 2.3.2 with scripted Datasets?

Bye

Mark
Previous Topic:create a library or a master template
Next Topic:Hyperlink/Drill-through question
Goto Forum:
  


Current Time: Fri Apr 26 13:32:03 GMT 2024

Powered by FUDForum. Page generated in 0.04078 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top