|
Re: "Getting more records or rows with data which are not generated in Birt designer previe [message #778410 is a reply to message #778279] |
Thu, 12 January 2012 16:11 |
|
Every time I run your sample report in the designer I get 121 rows. I
am not sure what you mean by you getting a different number of rows?
BTW in the designer the number of rows retrieved is limited by default.
You can change it in window->preferences->Report Design->Preview->Data
Jason
On 1/12/2012 1:15 AM, kishore G wrote:
> Hi,
>
> I would like to Thank one and all for their great efforts and concerns for one's problems in Birt.
>
> I am facing problem while getting data after executing my custom report after deploying into server i.e executing using Birt-Report Engine api.
>
> I have used "Design Engine api" to construct table with checking parameters inside my report design.
>
> Here i am able to get exact result while preview in eclipse Birt perspective designer.
>
> When the same report is deployed or executed from server side coding which uses "Birt-Report Engine api" i.e code to run and generate output from the report design.
>
> Please find an attachment of my sample report which is very close to my problem, where i am getting different Number of rows for every execution of this same report in Birt Report preview.
>
> Please suggest me, Where i am doing wrong or need to check.
>
> Thanks in advance for your great concern.
>
> Thanks
> mkh
|
|
|
|
Re: "Getting more records or rows with data which are not generated in Birt designer previe [message #780121 is a reply to message #779719] |
Tue, 17 January 2012 08:23 |
sam va Messages: 121 Registered: July 2011 |
Senior Member |
|
|
Just an addition to the above
We modified the stored proc and added a line at the first to delete all the existing rows from the temp table.
Looks like the report is working fine.
But this fix is not an actual fix. There is something in BIRT itself, b'cos we are using another reporting tool and it works perfectly. Its been there in production for more than one year. We are migrating to BIRT now.
The question here is, why is BIRT not closing the connection/session properly when using a JNDI connection.
Is there a known bug/issue on this?
Thanks
[Updated on: Tue, 17 January 2012 11:47] Report message to a moderator
|
|
|
Re: "Getting more records or rows with data which are not generated in Birt designer pr [message #780388 is a reply to message #780121] |
Tue, 17 January 2012 17:47 |
|
I am not sure this will help but could you
try adding the following to the beforeOpen of the data source:
reportContext.getAppContext().put("OdaJDBCDriverPassInConnectionCloseAfterUse",
true);
You may also want to look over this
bug:https://bugs.eclipse.org/bugs/show_bug.cgi?id=282128
We may need to log another for this issue.
Jason
On 1/17/2012 3:23 AM, sam va wrote:
> Just an addition to the above
> We modified the stored proc and added a line at the first to delete all
> the existing rows from the temp table.
> Looks like the report is working fine.
> But this fix is not an actual fix. There is something in BIRT itself,
> b'cos we are using another reporting tool and it works perfectly. We are
> migrating to BIRT now.
>
> The question here is, why is BIRT not closing the connection/session
> properly when using a JNDI connection.
>
> Is there a known bug/issue on this?
>
> Thanks
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03221 seconds