WaitForConnect
The WaitForConnect
connection attribute specifies that the connection attempt should wait if an immediate connection is not possible.
When an application requests a connection to a TimesTen database and the connection
is not possible (perhaps during concurrent loading/recovery of a database), TimesTen
usually waits for completion of the conflicting connection. In some cases, it can
take some time for an application to connect to a database. If the
WaitForConnect
attribute is off and the database is not immediately
accessible, TimesTen returns immediately an error. For a description of the error,
look for the error message number in Errors and Warnings in Oracle TimesTen In-Memory Database Error
Messages and SNMP Traps.
Required Privilege
No privilege is required to change the value of this attribute.
Usage in TimesTen Scaleout and TimesTen Classic
This attribute is supported in TimesTen Classic but not supported in TimesTen Scaleout.
Setting
Set WaitForConnect
as follows:
Where to set the attribute | How the attribute is represented | Setting |
---|---|---|
C or Java programs or UNIX and Linux systems |
|
|
Windows ODBC Data Source Administrator |
Not applicable |