agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] stuck with procedures having out parameters
Date: Fri, 26 Oct 2012 08:35:56 +0200
Message-ID: <508A2F4C.5070101@t-online.de> (raw)
Classpath isn't the problem as I have another function (part of the same
JAR file
uploaded into same schema) working. It must have to do with the method
declaration and/or the method parameter handling and signature. Have reworked
the function definition to explicitely include the method signature, i.e.
CREATE OR REPLACE FUNCTION rte."SP_getNextID"(OUT "iNextID" integer, IN
"vcIDName" character varying)
RETURNS integer AS
'allDatabasesPk.Procedures.SP_getNextID(int[], java.lang.String)'
Now the static method seems to be found. But when calling the function using
pgadmin and issuing a 'Select rte."SP_getNextID"('xy');' I am getting error
Too many parameters - expected 1
which I find confusing as I am only passing one parameter!?
Can someone please help here?
Note: if this goes through now, sorry for posting a new thread but trying to answer to existing previous thread did always lead to mail delivery errors.
view thread (4+ messages) latest in thread
Message-ID: <508A2F4C.5070101@t-online.de>
Permalink: ../508A2F4C.5070101@t-online.de/
Also on: postgresql.org/message-id/508A2F4C.5070101@t-online.de
reply
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 using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] stuck with procedures having out parameters
In-Reply-To: <508A2F4C.5070101@t-online.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox