public Handle setReadOnly(boolean readOnly) {
        try {
            connection.setReadOnly(readOnly);
        } catch (SQLException e) {
            throw new UnableToManipulateTransactionIsolationLevelException("Could not setReadOnly", e);
        }
        return this;
    }
Set the Handle read-only. This acts as a hint to the database to improve performance or concurrency.
<br/>
May not be called in an active transaction!

@param readOnly whether the Handle is readOnly.
@return this Handle.
@see Connection#setReadOnly(boolean)
core/src/main/java/org/jdbi/v3/core/Handle.java