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: Do you use PL/SQL

Re: Do you use PL/SQL

From: <sybrandb_at_hccnet.nl>
Date: Sun, 27 May 2007 07:27:51 +0200
Message-ID: <pc5i53p59ph68c5ten8ijcf1ro50t48uq7@4ax.com>


On 26 May 2007 15:13:40 -0700, zigzagdna_at_yahoo.com wrote:

>Oracle has rather convoluted (which are vvery inefficent) ways of
>calling C++ or Java from PL/SQL, so it is best not to call these
>languages from PL/SQL at all.For xeample, if you wnat to call Java
>from PL/SQL, you always have to develop PL/SQL wrappre function and
>there are various retsrictions on the type pf Java method you can call
>(it has to be made static public). So Oracle will tell you you can
>call Java or C++, but in pratice it is limited and in efficent.

Again a post full of nonsense, and without any benchmark to demonstate so-called 'inefficiency'.
The 'wrappre' function is exactly one line, so stating this is a problem is just utter nonsense.
Stating it is best not to call these languages from PL/SQL because of non-proven inefficiency is an example of promoting nonsensical development practices.
If calling Java from PL/SQL is inefficient this is because Java is an interpreted language. Apparently you are unaware of this fact. I would recommend you com back when you actually know what you are talking about.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Sun May 27 2007 - 00:27:51 CDT

Original text of this message

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