Re: set parameter not enabled?

From: Per-Olof Norén <pelle(at)alma(dot)nu>
To: "Henry" <hxzhang(at)cs(dot)ualberta(dot)ca>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: set parameter not enabled?
Date: 2002-02-25 13:42:30
Message-ID: 008301c1be02$45756ca0$0302a8c0@lpernor
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Henry,
postgresql do support stored procedures.
You just can´t call them with CallableStatement in the jdbc interface.
You should use Statement or PreparedStatement.
There has been discussions on this list earlier. See the archives
Also, look at http://lab.applinet.nl./postgresql-jdbc/

Regards,
Per-Olof Norén

----- Original Message -----
From: "Henry" <hxzhang(at)cs(dot)ualberta(dot)ca>
To: <pgsql-jdbc(at)postgresql(dot)org>
Sent: Friday, February 22, 2002 11:00 PM
Subject: [JDBC] set parameter not enabled?

> I got the following from a jdbc call:
> Exception: Callable Statements are not supported at this time.
>
> this exception comes out from a third party pure java report engine, thus
> the detailed information is not very much clear to me. When I was using
> Oracle as database backend, this exception is not there. however, when I
> change to postgres's pgjdbc2.jar JDBC driver, this exception raises.
Does
> that mean Postgres doesn't support stored procesure?

>
> thanks a lot!
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Steven Murphy 2002-02-25 14:01:48 Re: Connection Problem with JDBC
Previous Message Manoj Mallawaarachchie 2002-02-25 11:25:54 jdbc -Connection fail in suddnly