ODAC

TOraSession Properties

Properties of the TOraSession class.

For a complete list of the TOraSession class members, see the TOraSession Members topic.

Public

Name Description

ConnectDialog (inherited from TCustomDAConnection)

Allows to link a TCustomConnectDialog component.

ConnectString (inherited from TCustomDAConnection)

Used to specify the connection information, such as: UserName, Password, Server, etc.

ConvertEOL (inherited from TCustomDAConnection)

Allows customizing line breaks in string fields and parameters.

InternalName

Used to get or set the client database name that will be recorded when performing global transactions.

InTransaction (inherited from TCustomDAConnection)

Indicates whether the transaction is active.

LastError

Used to get an error code which resulted from previous call to the OCI interface function.

LDA

Provides a pointer to Oracle 7 login data area of the current connection.

LoginPrompt (inherited from TCustomDAConnection)

Specifies whether a login dialog appears immediately before opening a new connection.

OCICallStyle

Indicates the set of OCI routines used.

OCISvcCtx

Used to return Oracle 8 service context handle of the current connection.

OracleVersion

Used to get Oracle server version number as string.

Pooling (inherited from TCustomDAConnection)

Enables or disables using connection pool.

ProxySession

Used to enable multiple user sessions within a single database session.

SQL

Uses embedded TOraSQL object to execute any SQL statement.

Published

Name Description

AutoCommit

Used to permit or prevent permanent updates, insertions, and deletions of data associated with the current transaction against the database server.

Connected

Used to indicate if the database connection is active.

ConnectMode

Used to specify the system privileges to use when a user connects to the server.

ConnectPrompt

Used to supply a prompt for a name and password.

Debug

Used to display SQL statements being executed with their parameter values and data types.

Home

Used to specify the Oracle client to be used in the application.

HomeName

Used to select the Oracle client to use with the application.

HttpOptions

Used to set up the HTTP options.

Options

Used to specify the behaviour of a TOraSession object.

Password

Used to specify a password for a connection.

PoolingOptions

Used to specify the behaviour of connection pool.

Schema

Used to change the current schema of the session to the specified schema.

Server

Contains the server name.

SSLOptions

Used to set up the SSL options.

ThreadSafety

Used to allow the usage of the OCI in multi-threaded environment.

Username

Contains username.

See Also

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