Re: [JDBC] JDBC and stored procedures

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Tony Grant <tony(at)animaproductions(dot)com>, pgsql-jdbc(at)PostgreSQL(dot)org
Cc: pgsql-general(at)PostgreSQL(dot)org
Subject: Re: [JDBC] JDBC and stored procedures
Date: 2001-07-11 14:20:29
Message-ID: 01071110202900.01127@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc pgsql-patches

Tony,

The GetProcedures function in the driver does not work.
You should be able to a simple select of the stored proc however

Dave

On July 11, 2001 09:06 am, Tony Grant wrote:
> Hello,
>
> I am trying to use a stored procedure via JDBC. The objective is to be
> able to get data from more than one table. My procedure is a simple get
> country name from table countries where contry code = $1 copied from
> Bruces book.
>
> Ultradev is giving me "Error calling GetProcedures: An unidentified
> error has occured"
>
> Just thought I would ask here first if I am up against a brick wall?
>
> Cheers
>
> Tony Grant
>
> --
> 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 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2001-07-11 14:31:19 Re: Partial Indices vs. mixing columns and functions
Previous Message Tom Lane 2001-07-11 14:14:17 Re: Partial Indices vs. mixing columns and functions

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2001-07-11 14:44:07 Re: libpq autoconf scripts?
Previous Message Jan Wieck 2001-07-11 13:56:27 Re: varchar vs. text

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tony Grant 2001-07-11 15:15:31 Re: [JDBC] JDBC and stored procedures
Previous Message Tom Lane 2001-07-11 14:16:24 Re: Strange behaviour of trigger functions when initiated via jdbc

Browse pgsql-patches by date

  From Date Subject
Next Message Martijn van Oosterhout 2001-07-11 15:14:01 [PATCH] Partial indices final?
Previous Message Tony Grant 2001-07-11 13:06:57 JDBC and stored procedures