Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Problem with BLOB and dynamic images.
Problem with BLOB and dynamic images. [message #114181] Tue, 24 January 2006 14:31 Go to next message
Claes Rosell is currently offline Claes RosellFriend
Messages: 17
Registered: July 2009
Junior Member
Hi,

I have a problem with dynamic images and BIRT.

I have done a simple test report that contains a table with two columns,
the first one contains an image and the second one contains a string.
The second column works well, there is a new string value on each line,
and that string value corresponds to the value of the resultset of the
connected dataset. The first column however does not correspond to the
resultset. The image of the first line in the table is correct, but the
image on the following rows does not change, the first image retrieved
from the resultset is used again and again.

This is what I have come up with so far.
* The Blob is correctly retrieved from the resultset. Hence, I think
that the problem is not within ODA-framework.
* The SmartCache seems to be correctly populated.
* The query of the dataset is executed multiple times, it seems that the
query is executed once for ever image. If my example resultset contains
n results the query is executed n+1 times.
* The same resultset seems to be used for each and every string, a
different resultset is used every time an image is retrieved, which in
turn leads to that the getCurrentResult() method is returning the first
result each and every time.

We are using our own custom ODA so I can not easily provide you guys
with a test case.
I wonder if somebody else have experienced the same problem, or am I the
first one?

Best regards
/Claes Rosell
Re: Problem with BLOB and dynamic images. [message #114196 is a reply to message #114181] Tue, 24 January 2006 14:42 Go to previous message
Claes Rosell is currently offline Claes RosellFriend
Messages: 17
Registered: July 2009
Junior Member
An easy search in Bugzilla gave me the answer of my problem, I had,
incorrectly, bound the dataset to the dynamic image as well as the table.

Typically I spend two days debugging BIRT, just to find out that my
knowledge of report design suck. :-(

For more info : https://bugs.eclipse.org/bugs/show_bug.cgi?id=122642

/Claes Rosell

Claes Rosell wrote:
> Hi,
>
> I have a problem with dynamic images and BIRT.
>
> I have done a simple test report that contains a table with two columns,
> the first one contains an image and the second one contains a string.
> The second column works well, there is a new string value on each line,
> and that string value corresponds to the value of the resultset of the
> connected dataset. The first column however does not correspond to the
> resultset. The image of the first line in the table is correct, but the
> image on the following rows does not change, the first image retrieved
> from the resultset is used again and again.
>
> This is what I have come up with so far.
> * The Blob is correctly retrieved from the resultset. Hence, I think
> that the problem is not within ODA-framework.
> * The SmartCache seems to be correctly populated.
> * The query of the dataset is executed multiple times, it seems that the
> query is executed once for ever image. If my example resultset contains
> n results the query is executed n+1 times.
> * The same resultset seems to be used for each and every string, a
> different resultset is used every time an image is retrieved, which in
> turn leads to that the getCurrentResult() method is returning the first
> result each and every time.
>
> We are using our own custom ODA so I can not easily provide you guys
> with a test case.
> I wonder if somebody else have experienced the same problem, or am I the
> first one?
>
> Best regards
> /Claes Rosell
Previous Topic:ViewerServlet source
Next Topic:Doing queries....
Goto Forum:
  


Current Time: Sun Oct 06 09:45:49 GMT 2024

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

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

Back to the top