Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Universal database interface?

RE: Universal database interface?

From: Powell, Mark D <>
Date: Wed, 13 Apr 2005 09:23:09 -0400
Message-ID: <>

 I think Tom Kyte of asktom fame wrote a response on this topic that said if he was going to design a database independent application he would write a web interface without any SQL calls. Instead all SQL would be encapsulated in procedure calls that pass back cursors. This was you just write a database specific procedure for each port: Oracle, DB2, SQL Server, etc....

Naturally this makes any database without stored procedures a non-choice for the product.

I kind of like this design idea.

IMHO -- Mark D Powell --

-----Original Message-----
From: [] On Behalf Of Mladen Gogala
Sent: Tuesday, April 12, 2005 10:54 PM
Cc:; Subject: Re: Universal database interface?

On 04/12/2005 08:11:41 PM, Jared Still wrote:

> ----
> "Many developers are happy to trade runtime performance for
> cross-platfor=

> portability."
> Maybe the developers are happy, because performance is the DBA's

> right?
> ----

Spoken like a true architect! I welcome the standards and "database independent applications". Those are the things that enable me to earn my salary. Here is the law of Mladen: application that starts as a database independent will have to become Oracle specific in order to achieve an acceptable level of performance. My favorite toys are Object-Relational Mappers (ORM), recently a genuine hit among Java duhveleopers. Allegedly, they'll transform a relational query into a Java object which will then be passed through BZZZTYIKL or some other abbreviation resembling Vogon poetry, which will do an indescribable magic and, in particular, generate an acceptable user interface. To attain sub-hour web response, I ended up writing a ton of PL/SQL procedures implementing those "queries". When application was finished, it was database independent, provided that the database was supporting PL/SQL, external tables, BFILE fields, function based indexes and UTL_SMTP package. That is my kind of unified approach and my kind of database independence!

Mladen Gogala
Oracle DBA

Received on Wed Apr 13 2005 - 09:28:06 CDT

Original text of this message