} else if (isDirtyInDepth(uowEntity)) { if (readOnly) { throw new BackendException("The transaction is read-only but would lead to a flush in the database.");
} else if (isDirtyInDepth(uowEntity)) { if (readOnly) { throw new BackendException("The transaction is read-only but would lead to a flush in the database.");