presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoConnection.java/PrestoConnection/setReadOnly
class PrestoConnection:    @Override
    public void setReadOnly(boolean readOnly)
            throws SQLException
    {
        checkOpen();
        this.readOnly.set(readOnly);
    }