From: | Bruno Faure <bfaure(at)cosmosbay(dot)com> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | JDBC : CallableStatement returns always same Exception |
Date: | 2000-04-17 14:17:17 |
Message-ID: | 38FB1CED.ECD15DC0@cosmosbay.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Hi, I'am using a PGSQL DB on Linux, and I'm writing a Connection Servlet
to that DB.
Everything is fine when using simple statements, but I can't use any
CallableStatement to execute stored procedures.
It returns an exception , whatever I put in the prepareCall (even if
nothing) :
Error : Callable Statements are not supported at this time.
State : null
Code : 0
My code :
CallableStatement instruction ;
instruction = con.prepareCall("call ps_ins_user{?,?}"); --> raises
the Exception
...
or instruction = con.prepareCall(""); --> raises the Exception as well
Does that mean that stored procedure are not supported on pgSQL :-(?
I feel that this is a postgreSQL problem, because I've checked on the
JDBC forum, and others are using the same code on other database without
any probem.
Thanks for your help.
Bruno Faure
From | Date | Subject | |
---|---|---|---|
Next Message | J.Post | 2000-04-17 14:26:41 | Connecting website with SQL-database..... |
Previous Message | Matthew Denny | 2000-04-17 06:42:40 | ECPG source code repository |