This method of the Connection class assigns the available permissions for modifying data in a Connection.
public void setMode(int mode);