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

Home -> Community -> Mailing Lists -> Oracle-L -> SQLJ vrs PLSQL

SQLJ vrs PLSQL

From: Christopher Spence <cspence_at_FuelSpot.com>
Date: Sun, 22 Jul 2001 16:52:41 -0700
Message-ID: <F001.00350F59.20010722165019@fatcity.com>

I have a friend who states SQLJ is faster PLSQL, so I started reading up on SQLJ, which I have always avoided as it didn't seem to impressive and I try to avoid any sql in java files. In reading, I noticed it calls a "SQLJ" runtime which is java. I can't believe this would outperform native PLSQL which only has to do a single context switch to make a SQL call.

Anyone have any experience either way? Even Oracle claims PLSQL is faster:

"PL/SQL is a better solution for SQL-intensive applications. PL/SQL is optimized for SQL, and so SQL operations are faster in PL/SQL than in Java. Also, PL/SQL uses SQL datatypes directly, while Java applications must convert between SQL datatypes and Java types."  

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Christopher Spence
  INET: cspence_at_FuelSpot.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Sun Jul 22 2001 - 18:52:41 CDT

Original text of this message

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