DB2 graphic QMF Version 8

Database connections

Each instance of the QMF for Windows API object creates and uses a single connection to the database for all database activity that is subject to a subsequent rollback or commit, including opening a query, fetching data, and executing SQL statements.

If you create more than one query in a given instance of the QMF for Windows API object by calling InitializeQuery() two or more times, the queries will share the same single connection. QMF for Windows creates and uses a second connection to the database to handle administrative database activity (such as retrieving QMF information) when you call:

This second connection is necessary to support a consistent rollback and commit mechanism for client applications.

The QMF for Windows API object handles these connections automatically to the database; however, if your system administrator has established a limit for the number of connections allowed, note that each instance of the QMF for Windows API object may use two connections.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004