FireDAC.Phys.Oracle.TFDPhysOracleDriverLink.Threaded
Delphi
property Threaded: Boolean read FThreaded write FThreaded default True;
C++
__property bool Threaded = {read=FThreaded, write=FThreaded, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Phys.Oracle.pas FireDAC.Phys.Oracle.hpp |
FireDAC.Phys.Oracle | TFDPhysOracleDriverLink |
Description
Allows you to specify an OCI multi-threaded initialization mode.
Use the Threaded property to specify if FireDAC should initialize OCI in multi-threaded (True
) or single-threaded (False
) initialization mode. The default value is True
.
Setting Threaded to False
when your application does not use connection pooling and it has one single thread working with an Oracle database will improve the general data access performance.
Setting Threaded to True
is required when multiple threads access an Oracle database. This is equivalent to setting OCI_THREADED or OCI_NO_MUTEX in the OCI environment initialization call.