DBTools.h++ defines a three-layer data model, consisting of the database layer, the internal storage layer, and the application layer. In transporting data to and from databases, a strategy of early data binding is followed.
The database layer is not visible to applications. Database-dependent datatypes are restricted to this layer.
In the internal storage layer, all data is converted and stored in a normalized form via class RWDBValue. Applications with special needs may access the internal storage layer directly using class RWDBValue, but this is rarely necessary.
In the application layer, coding is done using native C++ types, as well as RWCString, RWDecimalPortable, RWDBBlob, RWDBDateTime, and RWDBDuration. These classes have broad applicability that is independent of database programming.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.