Information AboutOdbc |
| CATEGORIES ABOUT OPEN DATABASE CONNECTIVITY | |
| application programming interfaces | |
| computer programming | |
| data management | |
| databases | |
| sql data access | |
|
OVERVIEW The ODBC Specification offers a procedural API for using SQL queries to access data. An Implementation of ODBC will contain one or more Applications , a core ODBC library, and one or more "database drivers". The core library, independent of the applications and DBMS, acts as an " Interpreter " between the applications and the database drivers, whereas the database drivers contain the DBMS-specific details. Thus a programmer can write applications that use standard types and features without concern for the specifics of each DBMS that the applications may encounter. Likewise, database driver implementors need only know how to attach to the core library. This makes ODBC Modular . To write ODBC code that exploits DBMS-specific features requires more advanced programming. An application must use . ODBC provides the standard of ubiquitous data access because hundreds of ODBC drivers exist for a large variety of data sources. ODBC operates with a variety of operating systems and drivers exist for non-relational data such as Spreadsheet s, text and XML files. Because ODBC dates back to 1992, it offers connectivity to a wider variety of data sources than other data-access APIs. More drivers exist for ODBC than drivers or providers exist for newer APIs such as OLE DB , JDBC , and ADO.NET . Despite the benefits of ubiquitous connectivity and platform-independence, ODBC has certain drawbacks. Administering a large number of client machines can involve a diversity of drivers and DLLs . This complexity can increase System Administration overhead. Large organizations with thousands of PCs have often turned to ODBC server technology to simplify the administration problem. Differences between drivers and driver maturity can also raise important issues. Newer ODBC drivers do not always have the stability of drivers already deployed for years. Years of testing and deployment mean a driver may contain fewer Bugs . Developers needing features or types not accessible with ODBC can use other SQL APIs. When not aiming for platform-independence, developers can use proprietary APIs. If developers need to produce portable, platform-independent, albeit language specific code, they can use the JDBC API. HISTORY ODBC uses as its basis the various Call Level Interface (CLI) specifications from the SQL Access Group , X/Open (now part of The Open Group ), and the ISO / IEC . Microsoft, in partnership with Simba Technologies , created ODBC by adapting the SQL Access Group CLI. It released ODBC 1.0 in September 1992. After ODBC 2.0, Microsoft decided to align ODBC 3.0 with the CLI specification making its way through X/Open and ISO. In 1995, SQL/CLI became part of the international SQL standard. BRIDGING CONFIGURATIONS JDBC-ODBC bridges A JDBC-ODBC Bridge consists of a JDBC Driver which employs the ODBC driver to connect to the database. This driver translates JDBC method calls into ODBC function calls. Programmers usually use such a bridge when a particular database lacks a JDBC driver. Sun Microsystems included one such bridge in the JVM , but viewed it as a stop-gap measure while few JDBC drivers existed. Sun never intended its bridge for production environments, and generally recommends against its use. Independent data-access vendors now deliver JDBC-ODBC bridges which support current standards for both mechanisms, and which far outperform the JVM built-in. ODBC-JDBC bridges An ODBC-JDBC Bridge consists of an ODBC driver which uses the services of a JDBC Driver to connect to a database. This driver translates ODBC function calls into JDBC method calls. Programmers usually use such a bridge when they lack an ODBC driver for a particular database but have access to a JDBC driver. IMPLEMENTATIONS ODBC implementations run on many operating systems, including Microsoft Windows , Unix , Linux , OS/2 , and Mac OS X . Hundreds of ODBC drivers exist, including drivers for Oracle , DB2 , Microsoft SQL Server , Sybase , Pervasive SQL , MySQL , PostgreSQL , and desktop database products such as FileMaker , and Microsoft Access . Microsoft ODBC . iODBC See Also: iODBC IODBC (Independent Open DataBase Connectivity) offers an Open Source , platform-independent implementation of both the ODBC and X/Open specifications, generally used on platforms other than Microsoft Windows . OpenLink Software maintains and supports the iODBC project and distributes its software under the LGPL and/or BSD License. Apple chose to bundle iODBC into Mac OS X and Darwin , starting with Darwin 6.0 and Mac OS X V10.2 . Programmers have ported iODBC to several other operating systems and hardware platforms, including Mac OS 9 , Linux (x86, X86-64 , IA-64 , Alpha , MIPS , and ARM ), Solaris ( SPARC and x86), AIX , HP-UX (PA-RISC and Itanium), Compaq Tru64 , Digital UNIX , Dynix , Generic UNIX 5.4, FreeBSD , DG -UX, and OpenVMS . UnixODBC See Also: unixODBC The UnixODBC project — headed, maintained and supported by Easysoft Director Nick Gorham — Has Become the most common driver-manager for non-Microsoft Windows platforms (and for one Microsoft platform, Interix ). It offered full ODBC3 support and Unicode in advance of its competitors. Most Linux distributions Now ship it, including Red Hat , Mandriva and Gentoo . Several vendors of commercial databases, including IBM ( DB2 , Informix ), Oracle and SAP ( Ingres ) use it for their own drivers. It includes GUI support for both KDE and GNOME . Many Open Source projects — including OpenOffice.org and Glade — also make use of it. It builds on any platform that supports the GNU Autoconf tools (in other words, most of them). For licensing, UnixODBC uses the LGPL and the GPL . UDBC UDBC, a cross-platform fusion of ODBC and SAG CLI, enabled non-Windows-based DBMS-independent application development at a time when shared-library implementations on Unix occurred only sporadically. This effort laid the foundation for the IODBC Open Source project. EXTERNAL LINKS
Sources of ODBC drivers |
|
|