ConnectionEvent.getSqlstate

Get the SQLSTATE value of event. Even though the SQLSTATE values are specified by ANSI SQL and ODBC, consult each DBMS for the possible values. However, the "00000" (success) value means that there is no error, and the "HY000" (general error) value means an error but no better error code available.

class ConnectionEvent
string
getSqlstate
()

Return Value

Type: string

event's SQL state.