BIRT calls .class files twice [message #247450] |
Wed, 11 July 2007 15:39  |
Eclipse User |
|
|
|
Originally posted by: hmehta.familydollar.com
Hi,
I am using java class file to send queries from BIRT to java and after
making some calculation in java I send result back to BIRT using vector.
Problem is, BIRT calls java class file twice at the time of execution. It
shows correct result but because of calling class file twice execution
time becomes double. It take almost 2 min to run the report.
Any Idea?
Thanks in advance.
Hardik
|
|
|
|
Re: BIRT calls .class files twice [message #247586 is a reply to message #247492] |
Thu, 12 July 2007 08:14   |
Eclipse User |
|
|
|
Originally posted by: spenser.emery.gmail.com
Hi Jason,
Did you mean 2.2.1 when you said "This should be fixed when 2.1.1 comes
out"?
Also, is this the same issue as the same SQL statement (or in my case, call
to executeQuery() on a custom ODA plugin) being called multiple times on the
same report?
I remember reading something just over a month ago about problems with
executing the samy query multiple times and a "not very good" workaround
being to tell BIRT to always cache results. Has this issue been fixed and if
so, in which version of BIRT?
Thank you for your time,
Spenser
"Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
news:f73sen$eb0$1@build.eclipse.org...
> Hardik,
>
> If you are doing this with a scripted data set, every time you bind the
> data set to a table it will run. So if you have it in two tables it will
> run twice. This should be fixed when 2.1.1 comes out.
>
> Jason
>
> Hardik wrote:
>> Hi,
>>
>> I am using java class file to send queries from BIRT to java and after
>> making some calculation in java I send result back to BIRT using vector.
>> Problem is, BIRT calls java class file twice at the time of execution. It
>> shows correct result but because of calling class file twice execution
>> time becomes double. It take almost 2 min to run the report.
>>
>> Any Idea?
>>
>> Thanks in advance.
>>
>> Hardik
>>
|
|
|
Re: BIRT calls .class files twice [message #247601 is a reply to message #247586] |
Thu, 12 July 2007 09:23   |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.alltel.net
I meant 2.2.1 and this is probably that same issue.
Jason
Spenser Emery wrote:
> Hi Jason,
>
> Did you mean 2.2.1 when you said "This should be fixed when 2.1.1 comes
> out"?
>
> Also, is this the same issue as the same SQL statement (or in my case, call
> to executeQuery() on a custom ODA plugin) being called multiple times on the
> same report?
>
> I remember reading something just over a month ago about problems with
> executing the samy query multiple times and a "not very good" workaround
> being to tell BIRT to always cache results. Has this issue been fixed and if
> so, in which version of BIRT?
>
> Thank you for your time,
>
> Spenser
> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
> news:f73sen$eb0$1@build.eclipse.org...
>> Hardik,
>>
>> If you are doing this with a scripted data set, every time you bind the
>> data set to a table it will run. So if you have it in two tables it will
>> run twice. This should be fixed when 2.1.1 comes out.
>>
>> Jason
>>
>> Hardik wrote:
>>> Hi,
>>>
>>> I am using java class file to send queries from BIRT to java and after
>>> making some calculation in java I send result back to BIRT using vector.
>>> Problem is, BIRT calls java class file twice at the time of execution. It
>>> shows correct result but because of calling class file twice execution
>>> time becomes double. It take almost 2 min to run the report.
>>>
>>> Any Idea?
>>>
>>> Thanks in advance.
>>>
>>> Hardik
>>>
>
>
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.19956 seconds