agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Calling Java from Postgresql Function
Date: Tue, 10 Apr 2012 11:22:41 -0700
Message-ID: <4F847A71.60808@hogranch.com> (raw)
In-Reply-To: <1334060774007-5629757.post@n5.nabble.com>
References: <1334060774007-5629757.post@n5.nabble.com>

On 04/10/12 5:26 AM, murthy516 wrote:
> I'm new to postgresql.Can anyone please suggest me how to write a stored
> procedure in Postgresql that makes call to Java method.
>
> If I make call to Java method,how to set classpath for that Java(.class
> file) in postgresql.Please suggest me

you need pljava for this.
http://wiki.tada.se/index.php?title=Main_Page

the classpath can be set via the deployer, or via a SQL function call.



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast





view thread (3+ messages)  latest in thread

Message-ID: <4F847A71.60808@hogranch.com>
Permalink:  ../4F847A71.60808@hogranch.com/
Also on:    postgresql.org/message-id/4F847A71.60808@hogranch.com

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] Calling Java from Postgresql Function
  In-Reply-To: <4F847A71.60808@hogranch.com>

* 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