BIRT Exchange Forum: stored procedure call having out parameters without using cursor - BIRT Exchange Forum

Jump to content


 

BIRT Poll: To best make a table fill a pdf page before breaking (PL=page layout, PBI=page break interval) set:

PL: auto, PBI: 0PL: fixed, PBI: 0PL: auto, PBI: 1000000PL: fixed, PBI: 1000000
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

stored procedure call having out parameters without using cursor Rate Topic: -----

#1 User is offline   UmeshV Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 11-April 12

Posted 15 May 2012 - 09:26 PM

Hi,
I am using birt tool 3.7, and oracle 11g

I am having few out parameters in my procedure of VARCHAR2 type and I want that out parameters data to display in my report. But under the data set the out parameters are displayed with {}parameter-name. I am unable to drag and drop these in report. Is it neccessary to use cursor always?.
I am able to achieve using cursor, but want to know without using cursor(using only out parameters) can we achieve report?
Please provide suggetion and solution

I have small orcale procedure like this

create or replace procedure test1 (
p_out1 OUT VARCHAR2,
p_out2 OUT VARCHAR2,
p_out3 OUT VARCHAR2)
as
begin
p_out1 := 'I';
p_out2 := 'am testing';
p_out3 := 'Birt out parameters without using cursor';
end;

Thanks and regards,
UmeshV
0

#2 User is offline   JasonW Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 2505
  • Joined: 08-August 07


Posted 21 May 2012 - 10:12 AM

If you add a data item to a table that is bound to that data set and put an expression in like:

outputParams["p_out3"] does it work?

Jason
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users