Oracle XE 10g Stored Proc Problem EZSQLException

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
agalu58
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 03.06.2010, 15:24

Oracle XE 10g Stored Proc Problem EZSQLException

Post by agalu58 »

Hi all
i'm using Zeos 6.6.6. and Lazarus 0.9.28.2 on Windows XP.
As DB i use Oracle XE 10g.
I have a simple Procedure in Oracle:
CREATE OR REPLACE PROCEDURE WTRANS.testx(ein in varchar2, aus out varchar2) AS
BEGIN
aus := ein;
END ;
/
I has one in Parameter an one OUT Parameter.
Now i try to call this Proc in my Program.
I have a ZConnection and a TZStoredProc on my Form.
The TZStoredProc has the name "test"
and i uses this Code:

test.Params.clear;
test.Params.CreateParam(ftString,'ein',ptInput);
test.Params.CreateParam(ftString,'aus',ptOutput);
test.ParamByName('ein').asstring := 'bbb';
test.execproc;
st := test.ParamByName('aus').asstring ;

But on the call of execproc i get always the following error:
Project project1.exe raised exception cass 'EZSQLException' with message: Unsupported operation

Can anybody help, Thanks
André
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

This means the TZStoredProc functionality isn't implemented for Oracle.

Mark
Image
Post Reply