Understanding Session objects

Session and its sub-objects provide services to user database objects.

Rational® ClearQuest® uses the Session object to verify the user's authority to access a given database. When a user launches the Rational ClearQuest client application, Rational ClearQuest automatically authenticates the user using the logon window. However, developers of standalone applications must use the methods of the Session object to log on to the desired database.

The Session object acts as the primary root object to the remaining database objects. You use the Session object to:

After starting a session, the object you will work with most often is the Entity object. The Entity object represents a single user data record in the database and enables you to view or change the data in a record.

Using the methods of Entity, you can do the following: