skip to main content
OpenAccess SDK Events : OpenAccess SDK Event Attributes
 

OpenAccess SDK Event Attributes

The following table describes each event attribute.
Table 34. OpenAccess SDK Event Attributes
Event Attribute
Description
Type
Authorization
Session authorization (Administrator, User).
String
ClientApi
Type of client application (for example, Administrator, ODBC, ADO/OLE DB, .NET, or JDBC).
String
ClientApplId
Application ID used to authorize the current sessions.
String
ClientApplName
Application name as provided by the client application when connecting (ApplicationName property).
String
ClientAutoApplId
Application ID used to authorize the current sessions.
String
ClientAutoApplIdDesc
Text portion of the application ID used to authorize the current sessions.
String
ClientInfo
IP address or host name of the client system.
String
ClientPublicIPInfo
IP address or host name of the public system.
DataSourceName
Identification of the data source used for the session.
String
DbmsSession
Identification of the DBMS session.
String
DbmsUser
User used to open the DBMS session.
String
ErrorArgument
One or more arguments completing the ErrorMessage attribute.
String
ErrorCode
Numeric error code associated with an error event.
Integer
ErrorMessage
Error text.
String
EventId
Numeric identification of the event.
Integer
ExecuteCount
Number of SQL statements executed.
Integer
NumberOfBytes
Number of bytes sent or received.
Integer
ProcessId
Service process ID assigned by the operating system.
Integer
ReturnCode
Result of statement execution: 0 when OK, -1 when Error, -2 when Warning.
String
RowsAffected
Rows affected by SQL statement(s).
Integer
RowsFetched
Number of rows fetched.
Integer
ServiceName
Name of the service generating the event.
String
ServiceUser
Authenticated user.
String
SessionId
Numeric identification of the session.
Integer
SessionToken
Contains the value of DataSourceSessionToken after evaluation of placeholders and the session token for this session after placeholder replacement.
Integer
Statement
SQL statement.
String
StatementId
Numeric identification of the session.
Integer
SwitchCntR
Thread switches due to DataSourceMaxRPC.
Integer
SwitchCntT
Thread switches due to DataSourceTimeOut.
Integer
Timestamp
Timestamp when event occurred. Strings use ISO 8601 time format: "YYYY-MM-DD [hh:mm:ss]"
String
TxnCommit
Number of transactions committed.
Integer
TxnPrepare
Number of transactions prepared.
Integer
TxnRollback
Number of transaction rollbacks.
Integer