Wikipedia

Jet Data Access Objects

Also found in: Acronyms.
(redirected from Data Access Objects)

Jet Data Access Objects is a general programming interface for database access on Microsoft Windows systems, primarily for Jet and ACE databases.

History

DAO were originally called VT Objects. DAO 1.0 came up in November 1992 as part of Access 1.0. In version 3.5 it was able to bypass the Jet engine altogether and directly access ODBC data sources, including Microsoft SQL Server and other enterprise database systems. DAO 3.6 shipped with Jet 4.0. Access 2007 and later uses ACE with its ACEDAO, where most new features supported by ACE are added to. ACEDAO no longer supports ODBCDirect.

Design

DAO works by creating a "Workspace" object in which all database operations are performed. The workspace object exists as a session object that exists within a larger database engine object. There are two types of database engines: a Jet database engine object, and an ODBCDirect database engine.

Jet

The Jet database engine (in Access 2007 and later, ACE) object consists of several objects:

  • a workspace object containing
  • a groups-and-users object
  • a database object containing objects which consist of
    • containers of objects
    • query definition (QueryDef) objects
    • Recordset objects which are defined by a set of field objects
    • relation objects which show the relationship between different fields in the database
    • table definition (TableDef) objects which consists of fields and indexes of selected fields.
    • a series of error objects

The first version of DAO used Snapshot/Dynaset/Table objects etc. In DAO 2.0 Recordset etc. objects was introduced. DAO 3.0/3.5 only supported the old objects using a special compatibility TLB, which was removed completely in DAO 3.6.

ODBCDirect

The ODBCDirect database engine consists of a workspace object and an errors object. The main differences between this database engine and the Jet database engine are:

  • the workspace object contains only a series of ODBC connection objects
  • the database object consists of a series of recordset objects

The ODBC connection objects consist of QueryDef objects and recordset objects.

See also

References

External links

This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.