ConnectionEvent.setGdaCode

Sets 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.connection_event.ConnectionEvent.getSqlstate instead.

This function should not be called directly

class ConnectionEvent
void
setGdaCode

Parameters

code gda.types.ConnectionEventCode

a code