Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: java api call
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
![]() |
![]() |