Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-hackerspgsql-jdbcpgsql-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

pgsql-hackers by date

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

pgsql-jdbc by date

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

pgsql-patches by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group