Changes the SQLSTATE code of this, this function should not be called directly
Sets this's SQL state.
a ConnectionEvent.
SQL state.