gda.connection_event
Module for [ConnectionEvent] class
Types 3
Methods
ConnectionEventGidBuilder builder() static nothrowGet builder for [gda.connection_event.ConnectionEvent] Returns: New builder objectglong getCode() nothrowstring getDescription() nothrowGet the description of the event. Note that is event's type is GDA_CONNECTION_EVENT_COMMAND, the the description is the SQL of the command. Returns: event's description.gda.types.ConnectionEventType getEventType() nothrowGet event's severity (from a simple notice to a fatal event) Returns: the event typegda.types.ConnectionEventCode getGdaCode() nothrowRetrieve the code associated to event. Returns: the #GdaConnectionEventCode event's codestring getSource() nothrowstring getSqlstate() nothrowGet 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...void setCode(glong code) nothrowSets event's code: the code is specific to the provider being used. If you want to have a common understanding of the event codes, use [gda.connection_event.ConnectionEvent.getGdaCode] instead.void setDescription(string description = null) nothrowSets event's description. This function should not be called directly.void setEventType(gda.types.ConnectionEventType type) nothrowSets event's severity (from a simple notice to a fatal event) This function should not be called directly.void setGdaCode(gda.types.ConnectionEventCode code) nothrowSets event's gda code: that code is standardized by the libgda library. If you want to specify the corresponding provider specific code, use [gda.connection_event.ConnectionEvent.getCode] or [gda.c...void setSource(string source) nothrowSets event's source; this function should not be called directlyvoid setSqlstate(string sqlstate) nothrowChanges the SQLSTATE code of event, this function should not be called directlyFluent builder implementation template for gda.connection_event.ConnectionEvent
Methods
T type(int propval) nothrowFluent builder for gda.connection_event.ConnectionEvent
Methods