Hello,
we have violations in the below example for the mentioned quality rule.
Engineering Dashboard - Source code display
procedure prOpenByKeys( pKeys in CBPKG##GLOBALTYPES.KeyListType
,pRefCursor out rctGUARANTEESETLINKS )
Is
Begin
-- Argument Assertion
-- cbpkg##assert.AllNotNull(pCurrentValueRawList => pKeys);
open pRefCursor for
select rawtohex(t.UIDGUARANTEESETID) As UIDGUARANTEESETID, rawtohex(t.UIDGUARANTEEID) As UIDGUARANTEEID, nvl(t.ora_rowscn, -99) As "concurrencyToken"
from CBHGUARANTEESETLINKS t
where t.UIDGUARANTEESETID in (select /*+ cardinality ( kk 10)*/ distinct hextoraw(column_value) key from table(cast(pKeys as CBTYPEGUIDARRAY)) kk);
End prOpenByKeys;
-- -----------------------------------------------------------------
Can you please tell us how the problem can be fixed and if it is really a violation or if it is a false positive?
Thanks
Elisa