select va.irid ov_irid, va.to_ivid ov_ivid
      from sdd_version_associations va
          ,I$sdd_configuration_members cm
          ,I$sdd_branches br
     where va.branch_id = br.branch_id
     and   br.name = :branch
     and   va.edge_kind = 'T'
     and   va.irid = cm.object_irid
     and   cm.config_ivid in (select jr_name.get_IVID(:configuration) from sys.dual)