ConnectionEvent.setGdaCode

void setGdaCode(gda.types.ConnectionEventCode code)

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

Parameters

codea code