Database Guide
The database base support classes provide the underlying function needed to
access databases from an application built in VisualAge. The following
classes make up VisualAge database support.
- AbtDbmSystem
- Keeps track of database connections and information for an application or
for an entire image. Some of the information that the methods in this
class can return includes which access sets you have defined in an application
or in your entire image, which databases you currently have a connection to,
which database managers are currently active, and which database manager
classes have been installed in your image.
Other functions of this class include associating logon specifications with
a database manager or a connection alias and preparing the VisualAge database
system for an image save or startup.
- AbtDatabaseManager
- Serves as an interface between VisualAge and a database management
system. This class is subclassed for each type of database support
offered with VisualAge:
AbtIbmDatabaseManager - IBM CLI access to DB2/2
AbtOdbcDatabaseManager - ODBC access to databases
AbtOracleDatabaseManager - native access to Oracle
The database manager classes provide error handling and tracing
functions.
- AbtDatabaseConnection
- Models a connection to a database and defines most of the methods for
performing database operations, such as creating and deleting tables,
retrieving the names of tables and views in a database, commit and rollback
operations, and retrieving result tables. This class is subclassed for
each type of database support offered with VisualAge:
AbtIbmCliDatabaseConnection
AbtOdbcDatabaseConnection
AbtOracleDatabaseConnection
- AbtDatabaseAccessSet
- Stores the connection, query, and stored procedure specifications defined
in a database application.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]