code: private TaskDef getTaskDefFromDB(String name) {
          final String READ_ONE_TASKDEF_QUERY = "SELECT json_data FROM meta_task_def WHERE name = ?";
  
          return queryWithTransaction(READ_ONE_TASKDEF_QUERY,
                  q -> q.addParameter(name).executeAndFetchFirst(TaskDef.class));
      }
docs: Explicitly retrieves a {@link TaskDef} from persistence, avoiding {@link #taskDefCache}.
  
  @param name The name of the {@code TaskDef} to query for.
  @return {@literal null} if nothing is found, otherwise the {@code TaskDef}.