| From: | Travis Bauer <trbauer(at)indiana(dot)edu> |
|---|---|
| To: | Randall Parker <randall(at)nls(dot)net> |
| Cc: | PostgreSQL General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: JDBC invoke of Postgres stored procs? |
| Date: | 2000-07-11 21:57:23 |
| Message-ID: | Pine.GSO.4.21.0007111656080.4471-100000@piccolo.cs.indiana.edu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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?
>
>
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-07-11 22:03:56 | Re: INSERT ... SELECT DISTINCT - Doesn't work... |
| Previous Message | Nathan Barnett | 2000-07-11 21:49:56 | High Availability Setup |