[Pljava-dev] Calling Java from Postgresql Function

From: pierce at hogranch(dot)com (John R Pierce)
To:
Subject: [Pljava-dev] Calling Java from Postgresql Function
Date: 2012-04-10 18:22:41
Message-ID: 4F847A71.60808@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Johann 'Myrkraverk' Oskarsson 2012-04-12 13:04:33 [Pljava-dev] Building and testing on MacOS X
Previous Message murthy516 2012-04-10 12:26:14 [Pljava-dev] Calling Java from Postgresql Function