libairdbc

libairdbc is AirDBC's library.
Download

libairdbc Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Brian Trammell
  • Publisher web site:
  • http://tools.netsa.cert.org/rave/

libairdbc Tags


libairdbc Description

libairdbc is AirDBC's library. libairdbc is AirDBC's library.About AirDBCAirDBC is the AirCERT Database Connectivity abstraction layer for access to multiple RDBMS backends in C. It is designed for use in applications that run a large number of invocations of a relatively small number of statements; to that end, its API supports prepared statements only. It supports both positional and named binding of statement parameters, even on RDBMS backends which do not support named binding.There are three basic data types in the AirDBC API. AdbConnection represents a single connection to an RDBMS backend. AdbStatement represents a single prepared statement, and is scoped to an AdbConnection. AdbResultSet represents a single result set returned by the execution of a query statement (e.g., SELECT), and is scoped to an AdbStatement.See the AirDBC API documentation in doc/html for more information.BuildingAirDBC uses a reasonably standard autotools-based build system. The customary build procedure (./configure && make && make install) should work in most environments. AirDBC is linked against its built-in backend drivers at compile time. By default, no backend drivers are built. This is almost definitely not what you want, so you'll have to enable these using configure options. The following options are supported:Option Backend---------------------- -----------------------------------------------------with-postgresql PostgreSQL 8.0.0+ via libpq 4--with-oci Oracle 9.2.0+ via OCI in $ORACLE_HOMELike many other NetSA products, AirDBC's configure script also supports the --with-glib-static option, which allows the use of a static libglib. This isuseful in environments using ancient versions of glib (2.4 is common; AirDBC requires glib-2.6.4 or later) where a glib upgrade is not feasible. To use this, install glib-2.6.4 or later to a private prefix, then supply that prefix to --with-glib-static.AirDBC installs the adbmon testing utility for testing AirDBC and its backend drivers. adbmon is not presently documented; see the source in test/adbmon.c for more.


libairdbc Related Software