From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: need advice about out parameter settings while calling stored procedure in Java code
Date: Thu, 30 Jul 2015 15:46:23 +0200
Message-ID: <mpd9rf$gh6$1@ger.gmane.org> (raw)
In-Reply-To: <91b75bc23fbe41adba69c52ed4c2213f@shmbx01.ebaotech.com>
References: <91b75bc23fbe41adba69c52ed4c2213f@shmbx01.ebaotech.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Alex Wang schrieb am 30.07.2015 um 15:18:
> I am migrating from Oracle to Postgresql, and have encountered below
> issue while calling stored procedure via the latest PG JDBC
> (postgresql-9.4-1201.jdbc4.jar).>
>
> ----------start------------
>
> PROCEDURE p_myprocedure(a character varying, b character varying, c character varying,d character varying, OUT o1 text, OUT o2 text) IS
> BEGIN
> Blalabla;
> END;
> ----------end-------------
>
The above is invalid for PostgreSQL.
Are you sure you are using PostgreSQL and not EnterpriseDB? (which I think offers such a compatibility layer)
Thomas
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: need advice about out parameter settings while calling stored procedure in Java code
In-Reply-To: <mpd9rf$gh6$1@ger.gmane.org>
References: <91b75bc23fbe41adba69c52ed4c2213f@shmbx01.ebaotech.com> <mpd9rf$gh6$1@ger.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox