Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: java api call

Re: java api call

From: <kuassi.mensah_at_gmail.com>
Date: 5 Jul 2006 09:35:54 -0700
Message-ID: <1152117354.871737.197470@m73g2000cwd.googlegroups.com>


I can confirm that for data integrity reasons, JNI calls are not allowed for end-user code when using Java in the Oracle database.

Kuassi, http://db360.blogspot.com/

Steve Howard wrote:
> g wrote:
> > Is it possaible to make a call direct from PL/sql to a apachi api
> > and if so how
> > Please help
>
> Seems like an odd request, but I don't know anything about the Apache
> API (I would think it would be written in C, though). In straight
> java, you can tie into other language library calls through JNI (Java
> Native Interface).
>
> I have used JNI externally (host JVM), but have never done JNI in the
> database JVM, so I don't know how you load those libraries to be
> visible to it. The bottom line is, if you can do it in the database
> JVM, you could write a PL/SQL wrapper for it and make your PL/SQL call
> through that. It is something for which to google.
>
> HTH,
>
> Steve
Received on Wed Jul 05 2006 - 11:35:54 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US