SourcePro DB
Definition
SourcePro DB is the Rogue Wave C++ interface to relational databases. It is a complete library of classes that encapsulate SQL 92 Data Manipulation Language (DML) and Data Definition Language (DDL) constructs. Use of SourcePro DB requires the interaction of at least two modules:
*The DB Interface Module
*A DB Access Module
While both modules are required, DB Access Module classes are used only by the DB Interface Module to interact with the database; you interact only with the interfaces of the DB Interface Module classes. This design lets you write an application once, and reuse it with different databases simply by changing Access Modules. The architecture of SourcePro DB is shown in Figure 3.
Figure 3 – The Architecture of SourcePro DB
SourcePro DB can also be enabled with a third module:
*The DB XA Module
The DB XA Module allows SourcePro DB applications to work through a transaction processing monitor (TPM). Please contact your sales representative for information regarding installation, configuration, and support for this module.
The following sections define the SourcePro DB modules in more detail. For a code example using SourcePro DB with other SourcePro products, see An Example Using the Threads Module and the DB Interface Module and Example Using Modules from SourcePro Core, SourcePro DB, and SourcePro Net.