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

Re: Invoking sql functions through jdbc

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Greg Speegle <Greg(at)10happythings(dot)com>, Ron Sofrin <rsofrin(at)entercept(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Invoking sql functions through jdbc
Date: 2001-01-27 12:00:42
Message-ID: 5.0.2.1.0.20010127115902.009e4670@mail.retep.org.uk (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-jdbc
At 03:04 27/01/01 +0000, Greg Speegle wrote:

>Hi Ron,
>
>You can call postgresql functions from a normal statement, although I
>don't know if you can have it return multiple result sets.

The network protocol supports it, and so should Statement/Prepared 
statement. However, I've never got it to actually do it.

PS: All JDBC related stuff should be going to the new pgsql-jdbc list.

Peter


>I've assigned a class project to a graduate database class to work on the
>CallableStatment interface for the JDBC driver. I hope we'll have
>something for you by May.
>
>Greg Speegle
>Baylor University
>
> >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
>
>On 1/25/01, 9:57:32 PM, "Ron Sofrin" <rsofrin(at)entercept(dot)com> wrote
>regarding [INTERFACES] Invoking sql functions through jdbc:
>
>
> > Hi all,
>
> > I am trying to invoke a postgres sql function though JDBC using the
> > CallableStatment object. I have build the driver with it's jdbc1.2
>option.
> > However, I am getting the following exception "Callable statments are not
> > supported at this time"
>
> > Does any one have an idea if there is a work around it?
>
> > I have noticed that there is something called the Fastpath API. Is there
>any
> > way to get a result set (and not byte[]) out of it?
>
> > thanks
>
> > Ron


In response to

pgsql-interfaces by date

Next:From: MaurizioDate: 2001-01-27 13:52:02
Subject: Re: Fw: STRANGE INCREMENT IN MEMORY SIZE OF A PRECESS COMPILED WITH ECPG
Previous:From: David SchweikertDate: 2001-01-27 11:44:56
Subject: Re: [ANNOUNCE] Gedafe (the Generic Database Front-End) 1.0.0

pgsql-jdbc by date

Next:From: Dmitry ChernikovDate: 2001-01-27 14:58:29
Subject:
Previous:From: Greg SpeegleDate: 2001-01-27 03:04:09
Subject: Re: Invoking sql functions through jdbc

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