Does Linux have a unified way of accessing databases? Windows has ADO...

Joseph T. Adams joe at apk.net
Fri Jan 18 19:08:16 EST 2002


Alex Martelli <aleax at aleax.it> wrote:
: "Max Adams" <RubberDucky703 at hotmail.com> wrote in message
: news:%4H08.543$Tu1.112303 at news1.cableinet.net...
:> Does Linux have a unified way of accessing databases? Windows has ADO but
:> does Linux have any sort of mechanism for unified database access
:> independant of which database is being accessed?

: No.


Linux itself doesn't, as it mostly adheres to the philosophy that the
main purpose of an operating system is to provide an abstraction layer
around hardware, not around applications. 

Usually, with Linux and other software that is free in the sense of
freedom, you have not one "standard" way of doing things, but many,
and can pick whichever way best meets your needs.

Most high-level languages have libraries that can somewhat abstract
the minor differences between SQL dialects.  Python has DB-API; Java
has JDBC; there are a number of comparable libraries for C++.  It's
also fairly straightforward to extend these or write your own if
what's out there doesn't meet your needs. 


Joe



More information about the Python-list mailing list