Part V. Databases providers for developers

For each database engine, libgda requires an object which maps libgda's API to the native API offered by that database engine. That object, a database provider needs to inherit GdaServerProvider and implement its virtual methods.

Database provider objects are generally instanciated once by the libgda framework and can be used several times to open and work on connections to several databases of the same type.

Since libgda itself is developed in the C language, and that most providers are also implemented in that language, the libgda library itself contains a set of helper classes and functions to guide you in the addition of a new provider to the GDA framework. Two reference implementations are provided in the providers/skel-implementation directory of libgda's sources:

The helper objects and functions to write database providers are documented in the Providers' support API section.