Received: from waco2.calpha.com (waco2.calpha.com [208.232.233.3]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0R33xq85444 for ; Fri, 26 Jan 2001 22:03:59 -0500 (EST) (envelope-from Greg@10happythings.com) Received: from gregs.wireless.calpha.com (gspeegle.t1-s.wireless.calpha.com [63.80.26.25] (may be forged)) by waco2.calpha.com (8.10.1/8.10.1) with SMTP id f0R33rD05121; Fri, 26 Jan 2001 21:03:53 -0600 From: Greg Speegle Date: Sat, 27 Jan 2001 03:04:09 GMT Message-ID: <20010127.3040903@gregs.wireless.calpha.com> Subject: Re: Invoking sql functions through jdbc To: Ron Sofrin CC: pgsql-interfaces@postgresql.org In-Reply-To: <94qsgr$aac$1@news.tht.net> References: <94qsgr$aac$1@news.tht.net> X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Win32) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.postgresql.org id f0R340q85445 X-Archive-Number: 200101/306 X-Sequence-Number: 932 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. 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" 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