Skip to main content



      Home
Home » Archived » BIRT » Unable to use Dataset on stored procedure
Unable to use Dataset on stored procedure [message #143390] Mon, 13 March 2006 06:01
Eclipse UserFriend
Hi All,

I want to use a Oracle stored procedure on a dataset but it is not
working; here the query I put on my dataset :

{ call BS_STATISTICS.GETEXOCETDETAIL('MO_PAR','200603')}

And here the SQL Code (package only) :

CREATE OR REPLACE PACKAGE BS_STATISTICS
IS
TYPE ExocetStatisticsCount IS RECORD (
nb
f2b_bs.strategy_external_ref_id%TYPE,
place f2b_bs.place%TYPE,
portfolio f2b_bs.portfolio%TYPE,
strategy_kind f2b_bs.strategy_kind%TYPE,
status f2b_bs.status%TYPE
);
TYPE Cur_ExocetStatisticsCount IS REF CURSOR RETURN
ExocetStatisticsCount;

PROCEDURE GETEXOCETDETAIL (
pplace IN varchar2,
pyymmm IN varchar2,
pstats OUT Cur_ExocetStatisticsCount
);

END BS_STATISTICS;
/

When I execute in BIRT I have this error, in other client it is working :

A BIRT exception occurred.
Plug-in Provider:Eclipse.org
Plug-in Name:BIRT Data Engine
Plug-in ID:org.eclipse.birt.data
Version:2.0.1
Error Code:odaconsumer.CannotExecuteStatement
Error Message:Cannot execute the statement.
SQL statement does not return a ResultSet object.
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'GETEXOCETDETAIL'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


Any idea ?
Thx,
-emmanuel
Previous Topic:Bug in predefined CSS style 'report'?
Next Topic:Creating tables with vertical scrollbars
Goto Forum:
  


Current Time: Thu Jul 17 22:06:33 EDT 2025

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

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

Back to the top