GObject.Object
Gda.ConnectionEvent
Import line: | Gda = imports.gi.Gda; |
GIR File: | Gda-4.0.gir |
C documentation: | GdaConnectionEvent |
Class : | ConnectionEvent |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
object : GObject.Object
read only
|
Gda.ConnectionEvent | |
priv : Gda.ConnectionEventPrivate
read only
|
Gda.ConnectionEvent | |
type : Number
|
Gda.ConnectionEvent |
Method / Constructor | Defined By | |
---|---|---|
new Gda.ConnectionEvent
(Object properties)
Create a new Gda.ConnectionEvent
Create a new Gda.ConnectionEvent
|
||
Create a new Gda.ConnectionEvent
Create a new Gda.ConnectionEvent
|
||
get_code
()
:
Number
|
Gda.ConnectionEvent | |
get_description
()
:
String
Get the description of the event.
Get 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.
|
Gda.ConnectionEvent | |
get_event_type
()
:
Gda.ConnectionEventType
Get event's severity (from a simple notice to a fatal event)
Get event's severity (from a simple notice to a fatal event)
|
Gda.ConnectionEvent | |
get_gda_code
()
:
Gda.ConnectionEventCode
Retrieve the code associated to event.
Retrieve the code associated to event.
|
Gda.ConnectionEvent | |
get_source
()
:
String
|
Gda.ConnectionEvent | |
get_sqlstate
()
:
String
Get the SQLSTATE value of event.
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.
|
Gda.ConnectionEvent | |
set_code
(Number code)
:
none
If you want to have a common understanding of the event codes, use gda_connection_event_get_gda_code() instead.
If you want to have a common understanding of the event codes, use gda_connection_event_get_gda_code() instead. This function should not be called directly
|
Gda.ConnectionEvent | |
set_description
(String description)
:
none
Sets event's description.
Sets event's description. This function should not be called directly.
|
Gda.ConnectionEvent | |
set_event_type
(ConnectionEventType type)
:
none
Sets event's severity (from a simple notice to a fatal event) This function should not be called directly.
Sets event's severity (from a simple notice to a fatal event) This function should not be called directly.
|
Gda.ConnectionEvent | |
set_gda_code
(ConnectionEventCode code)
:
none
library.
library. If you want to specify the corresponding provider specific code, use gda_connection_event_get_code() or gda_connection_event_get_sqlstate() instead. This function should not be called directly
|
Gda.ConnectionEvent | |
set_source
(String source)
:
none
Sets event's source; this function should not be called directly
Sets event's source; this function should not be called directly
|
Gda.ConnectionEvent | |
set_sqlstate
(String sqlstate)
:
none
Changes the SQLSTATE code of event, this function should not be called directly Sets event's SQL state.
Changes the SQLSTATE code of event, this function should not be called directly Sets event's SQL state.
|
Gda.ConnectionEvent |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gda.Connection
Signal |
error
(Connection self, ConnectionEvent object)
:
none
|
Gda.Connection
Method |
add_event
(ConnectionEvent event)
:
none
Adds an event to the given connection.
|
Gda.TransactionStatus
Method |
|