RWDBDatabase and RWDBConnection
In a SourcePro DB application, class RWDBDatabase manages connections with database servers. An RWDBDatabase object represents a server, a user on that server, and a connection opened for that user. RWDBDatabase provides an interface for tables, queries, direct SQL execution, transaction control, and data definition language (DDL). As noted in Getting a Connection, RWDBDatabase instances are obtained from the RWDBManager.
Class RWDBConnection encapsulates a database connection, also known as a login or session. RWDBConnection instances are obtained from RWDBDatabase instances as follows:
 
RWDBDatabase myDbase = RWDBManager::database(/* args */);
RWDBConnection conn1 = myDbase.connection();
RWDBConnection conn2 = myDbase.connection();