Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: choices regarding where to place code - in the database or middletier
Stu Charlton wrote:
> Daniel Morgan <damorgan_at_x.washington.edu> wrote in message news:<1075365124.32752_at_yasure>...
>
>
>>"Complete DBMS *dependence* means utilizing (all) those DBMS-vendor >>specific functions that optimize or implement security, performance, and >>scalability (and other stuff)" >> >>and >> >>"Complete DBMS independence means that a system is not bound to a given >>DBMS, because it uses only the functionality offered by the DBMS that is >>accessible via DBMS-neutral syntax" >> >>What you suggest is a logical impossibility.
>>In Oracle, for example, there is no better place to put code than in a >>package; for numerous reasons. No other database vendor has the concept >>... therefore throw packages away.
>>In Oracle and DB2 the best way to do numering is with a sequence. SQL >>Server and Sybase don't have them so throw sequences away. Of course SQL
>>Sorry Joe ... but your attempt to construe development to sell your >>company's product is a great way to do some things. Creating high >>performance scalable databases isn't one of them. Not once has Oracle >>won a benchmark contest with BEA using generic code. No one else will >>either.
Please acknowledge that once your code is in packages and you are using sequences ... the code absolutely can not be compatible with code written for any other database product: No exceptions. It just will not be compatible and no quantity of bubble gum, paper clips, or rubber bands is going to make it compatible.
So while I will gladly acknowledge a communication gap I still can't get past thinking what you guys are proposing is a logical impossibility. If you disagree, and I suspect you do/will, then please provide an example of how you could use packages and sequences in Oracle and meet your stated objective.
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Thu Jan 29 2004 - 13:01:56 CST