RE: JDBC and stored procedures

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Tony Grant'" <tony(at)animaproductions(dot)com>, <Dave(at)micro-automation(dot)net>
Cc: <pgsql-jdbc(at)PostgreSQL(dot)org>
Subject: RE: JDBC and stored procedures
Date: 2001-07-11 16:14:58
Message-ID: 003401c10a24$a19d5e30$0201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc pgsql-patches

The getProcedures api is on the todo list, but I don't think it returns
stored procs.

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Tony Grant
Sent: July 11, 2001 11:16 AM
To: Dave(at)micro-automation(dot)net
Cc: pgsql-jdbc(at)PostgreSQL(dot)org; pgsql-general(at)PostgreSQL(dot)org
Subject: Re: [JDBC] JDBC and stored procedures

On 11 Jul 2001 10:20:29 -0400, Dave Cramer wrote:

> The GetProcedures function in the driver does not work.

OK. I bet it is on the todo list =:-D

> You should be able to a simple select of the stored proc however

Yes! thank you very much!!!

SELECT getcountryname(director.country)

did the trick where getcountryname is the function (or stored procedure)

Cheers

Tony

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Wood 2001-07-11 16:21:49 Re: reordering sequences
Previous Message Tom Lane 2001-07-11 16:13:23 Re: [PATCH] Partial indices final?

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-07-11 16:15:13 Re: Re: SOMAXCONN (was Re: Solaris source code)
Previous Message Peter Eisentraut 2001-07-11 15:28:58 Re: Possible feature?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ryan Mahoney 2001-07-11 16:46:56 Re: vacuum and 24/7 uptime
Previous Message Nikk Anderson 2001-07-11 15:49:20 RE: jdbc and unix signals

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-07-11 18:53:28 Re: [HACKERS] [PATCH] Re: Setuid functions
Previous Message Tom Lane 2001-07-11 16:13:23 Re: [PATCH] Partial indices final?