From: | brunofouape at yahoo(dot)fr ( Fouapé Bruno ) |
---|---|
To: | |
Subject: | [Pljava-dev] Pljava-dev Digest, Vol 101, Issue 2 |
Date: | 2012-12-03 12:24:59 |
Message-ID: | 1354537499.61377.YahooMailNeo@web172402.mail.ir2.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
try? to? put?? ( )? on
CREATE OR REPLACE FUNCTION pxexists()
RETURNS boolean AS
'px.StoredProcedures.PredictionProviderExists ( )'
LANGUAGE java;
?
________________________________
De?: "pljava-dev-request at pgfoundry.org" <pljava-dev-request at pgfoundry.org>
??: pljava-dev at pgfoundry.org
Envoy? le : Lundi 3 d?cembre 2012 13h00
Objet?: Pljava-dev Digest, Vol 101, Issue 2
Send Pljava-dev mailing list submissions to
??? pljava-dev at pgfoundry.org
To subscribe or unsubscribe via the World Wide Web, visit
??? http://pgfoundry.org/mailman/listinfo/pljava-dev
or, via email, send a message with subject or body 'help' to
??? pljava-dev-request at pgfoundry.org
You can reach the person managing the list at
??? pljava-dev-owner at pgfoundry.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pljava-dev digest..."
Today's Topics:
? 1. Re: Unable to find static method. (Thomas Hallgren)
----------------------------------------------------------------------
Message: 1
Date: Mon, 03 Dec 2012 09:21:08 +0100
From: Thomas Hallgren <thomas at tada.se>
To: pljava-dev at pgfoundry.org
Subject: Re: [Pljava-dev] Unable to find static method.
Message-ID: <50BC60F4.5050701 at tada.se>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
When you say "jar files are in the right place", do you then mean that
you have loaded them into the database with the 'install_jar' command?
Did you set the classpath using 'set_classpath' command?
http://wiki.tada.se/index.php?title=SQLJ_functions
- thomas
On 2012-11-28 03:02, Brian Yan wrote:
> Hi,
>
> I am running into a very basic error that? I can not seem the find the solution for. I have gotten this to work before but somehow it no longer does. Jar files are in the right place with the class path defined.
>
> Below is the function definition, class and the error it throws:
> Function Def:
>
> CREATE OR REPLACE FUNCTION pxexists()
>? ? RETURNS boolean AS
> 'px.StoredProcedures.PredictionProviderExists'
>? ? LANGUAGE java;
>
> Class:
>
> package px;
>
> public class StoredProcedures {
>
>? ? ? ? public static boolean PredictionProviderExists()
>? ? ? ? {
>? ? ? ? ? ? ? ? return true;
>? ? ? ? }
> }
>
> Query:
> select pxexists();
> Unable to find static method px.StoredProcedures.PredictionProviderExists with signature ()Z (PgObject.c:101)
>
> Does anyone have any suggestions?
>
> Thank you for your help!
> Brian
>
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pljava-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pgfoundry.org/pipermail/pljava-dev/attachments/20121203/fcdbe68c/attachment-0001.html>
------------------------------
_______________________________________________
Pljava-dev mailing list
Pljava-dev at pgfoundry.org
http://pgfoundry.org/mailman/listinfo/pljava-dev
End of Pljava-dev Digest, Vol 101, Issue 2
******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20121203/98965a23/attachment.html>
From | Date | Subject | |
---|---|---|---|
Next Message | Virtucon Design Group | 2012-12-04 16:29:22 | [Pljava-dev] PL/Java version for 9.2 |
Previous Message | Thomas Hallgren | 2012-12-03 08:21:08 | [Pljava-dev] Unable to find static method. |