ODBC++
More than just a C++ wrapper!
Home    Phase I    Phase II    Phase III    Download

Objective

Provides a set of, cross-platform, C++ class libraries to aid C++ developers in their use of ODBC. Adds important functionality such as threaded execution and is designed and optimized to work specifically with ODBC. This makes ODBC++ an ideal solution for C++ developers working with relational databases or any other data source which is enabled with an ODBC driver (all the majour databases).

This library is a wrapper for ODBC (with usability and portability features) not an abstraction from ODBC.

Guidelines

This library is NOT intended to create, yet another, abstraction layer from ODBC so no attempt is made to hide ODBC data types and constants etc. The MFC approach to this was to create just a few classes (i.e. CDatabase and CRecordset). These MFC classes do not correlate well to the underlying ODBC CLI and this prevents some C functionality from being used properly. ODBC++ classes correlate well with the ODBC CLI providing a much more natural fit.


Source Code

ODBC++ source code is licensed under the LGPL and is hosted at Source Forge under the UNIX friendly name 'odbc-class-lib'. This project should not be confused with freeodbc/odbc++ which is a JDBC like interface to ODBC.

The ODBC++ project has been started by Peter Harvey (the current project leader) and development is sponsored by CodeByDesign. Peter Harvey is also the founder of unixODBC (currently lead by Nick Gorham).

Whats is ODBC?

Open Database Connectivity (ODBC) is a widely accepted application programming interface (API) for database access. It is based on the Call-Level Interface (CLI) specifications from X/Open and ISO/IEC for database APIs and uses Structured Query Language (SQL) as its database access language.

Certifications
  • ISO 92
  • X/Open
  • ODBC
Resources



SourceForge Logo