Re: Function calls via JDBC

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Oleg Lebedev'" <olebedev(at)waterford(dot)org>, "'Postgres SQL Mailing List'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Function calls via JDBC
Date: 2001-10-16 20:41:37
Message-ID: 00cb01c15682$f415a140$c201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Just do a select with the function in the select
Ie

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Oleg Lebedev
Sent: October 12, 2001 6:29 PM
To: Postgres SQL Mailing List
Subject: [JDBC] Function calls via JDBC

Hi,
I created a PL/pgSQL function, but can not call it from my Java program.

I tried using CallableStatement, but it gave me an exception: Callable
Statements are not supported at this time. So, how should I execute a
stored procedure via JDBC? Thanks,

Oleg

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-10-16 20:54:16 Fix for DatabaseMetaData.getIndexInfo()
Previous Message Barry Lind 2001-10-16 20:27:44 Re: Function calls via JDBC