Re: Help! IN BOOLEAN in Call procedure failed

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Tue, 28 Mar 2000 10:40:00 +0200
Message-ID: <954233102.7978.1.pluto.d4ee154e_at_news.demon.nl>


No,

[Quoted] Boolean is an internal PL/SQL datatype ONLY.

Sorry,

Sybrand Bakker, Oracle DBA

Titou <t.merlin_at_free.fr> wrote in message news:KUZD4.63$Y4.123001_at_nnrp4.proxad.net...
> Hi,
> I have a problem when i call a procedure with an boolean type.
> My procedure :
>
> create or replace procedure TEST is (data1 IN BOOLEAN, data2 IN
> VARCHAR2,data4 OUT VARCHAR2) is
> begin
> data4 := 'TEST';
> end;
>
> My java code :
> proc = conn.prepareCall("{call TEST(?,?,?)}");
> proc.setBoolean(1,true);
> proc.setString(2,"TEST");
> proc.registerOutParameter(3,java.sql.Types.VARCHAR);
> proc.execute();
> This error code is generated :
> ORA-06550
> PLS-00306
> I'm sure than this problem come with boolean because when i replace by
> String
> in my procedure and java code, it's OK!
> Can you help me on this type boolean?
> Thank's in advance.
>
>
>
>
Received on Tue Mar 28 2000 - 10:40:00 CEST

Original text of this message