Overview of the GDA Objects

The main class for GDA is the Gda_Connection class. Objects of this class establish the connection to the CORBA server and they are needed for nearly all activity on the client side. Each object has a direct or indirect pointer to a connection object.

Another very important class is the Gda_Command class. It's used to store a command string and is used to execute this command on the CORBA server. It has a reference to a connection object. The execute function returns an object of the Gda_Recordset class. This class is responsible for buffering and caching and managing the memory of the data items returned from the server.

Gda_Recordset objects don't have corresponding objects on their CORBA server. If the gda_recordset_move() function is called, a Gda_Command object, which might be constructed implicitly by the Gda_Recordset object, is used to communicate with the server and retrieve data rows.