agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] I: ERROR: Unable to find static method
Date: Sun, 25 Feb 2007 18:39:00 +0100
Message-ID: <000401c75903$d5d1f830$0fc7a8c0@thinkstefano> (raw)
Hi,
I'm try to load a class on db, but something go wrong.
net.gesttec.gbedidi.storedP.yate.ldapGetSeatInfo.searchSeatPass with
signature (Ljava/lang/String;)Ljava/lang/String;
My class :
package net.gesttec.gbedidi.storedP.yate; public class ldapGetSeatInfo {
public static java.lang.String searchSeatPass(
java.lang.String seatId
) throws SQLException {
String gkPassS = "-";
<..snip>
return gkPassS;
}
...
Etc
I loat it
SELECT * from sqlj.install_jar('file:///temp/SPyate.jar', 'SPYATE_jar',
false); SELECT sqlj.set_classpath('public','SPYATE_jar');
CREATE OR REPLACE FUNCTION user_check(character varying)
RETURNS character varying AS
'net.gesttec.gbedidi.storedP.yate.ldapGetSeatInfo.searchSeatPass(java.lang.S
tring)'
LANGUAGE 'javaU' VOLATILE;
Butr when i call the function
select * from user_check('alllsoi'),
I got
ERROR: Unable to find static method
net.gesttec.gbedidi.storedP.yate.ldapGetSeatInfo.searchSeatPass with
signature (Ljava/lang/String;)Ljava/lang/String;
Stato SQL: XX000
Under winXP
Please note, in the same jar, a different class work fine.
PS
Since in this week eclipse IDE was update, now the pljava souce fail in
compile, I don't know if are you inform about.
By & thanks in advace
Stefano Bianchi
Message-ID: <000401c75903$d5d1f830$0fc7a8c0@thinkstefano>
Permalink: ../000401c75903$d5d1f830$0fc7a8c0@thinkstefano/
Also on: postgresql.org/message-id/000401c75903$d5d1f830$0fc7a8c0@thinkstefano
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] I: ERROR: Unable to find static method
In-Reply-To: <000401c75903$d5d1f830$0fc7a8c0@thinkstefano>
* 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