Обсуждение: JDBC invoke of Postgres stored procs?

Поиск
Список
Период
Сортировка

JDBC invoke of Postgres stored procs?

От
"Randall Parker"
Дата:
Simple question: Can the functions created via CREATE FUNCTION be invoked via the JDBC driver?





Re: JDBC invoke of Postgres stored procs?

От
Travis Bauer
Дата:
I have specifically tried this, but I don't see why it shouldn't
work.  Call it as an executeUpdate, and not an executeQuery.

Statement st = myConnection.createStatement();
st.executeUpdate("create function . . . ");

----------------------------------------------------------------
Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer
----------------------------------------------------------------

On Tue, 11 Jul 2000, Randall Parker wrote:

> Simple question: Can the functions created via CREATE FUNCTION be invoked via the JDBC driver?
>
>
>
>