On Tue, Apr 10, 2012 at 8:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Merlin Moncure <mmoncure@gmail.com> writes:
>> ... We have to invoke java and there
>> are two basic ways to tie into the java runtime: one is to jump
>> through SPI via the SQL executor. The other is JNI into the pl/java
>> jvm which I think you were hinting was the better approach.
>
> Hm? SPI doesn't know anything about Java either.
>
> regards, tom lane
Hi Tom,
We plan to call SQL through SPI from the FDW,which in turn would call
the Pl/Java routine.
We are working on the JNI Invocation API approach also.We will be
currently researching the differences between the two approaches(SPI
and JNI).
Atri
--
Regards,
Atri
l'apprenant