ODAC

TOraSession Class

A component for maintaining connection to an Oracle database.

For a list of all members of this type, see TOraSession members.

Unit

Ora

Syntax

TOraSession = class(TCustomDAConnection);

Remarks

The TOraSession component is used to maintain connection to an Oracle database. After setting the Username, Password and Server properties, you can establish a connection to the database by calling the Connect method or setting the Connected property to True. There are also many properties at the session level that affect the default behavior of the queries executed within this session. Furthermore, you can control transactions using methods from this class.

All components that are dedicated to perform data access, such as TOraQuery, TOraSQL, TOraScript, must have their Session property assigned with one of the TOraSession instances.

Inheritance Hierarchy

TCustomDAConnection
   TOraSession

See Also

© 1997-2021 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback