Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ddd8247

Browse files
committed
Removed commented code. Added comment on the need for xmltransform.
1 parent 65c027e commit ddd8247

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

source/expectations/data_values/ut_data_value_refcursor.tpb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,8 @@ create or replace type body ut_data_value_refcursor as
313313
(select '||l_column_filter||', ucd.item_no
314314
from ' || l_ut_owner || '.ut_data_set_tmp ucd where ucd.data_set_guid = :l_other_guid) act
315315
on exp.item_no = act.item_no '||
316-
-- 'where nvl(dbms_lob.compare(xmlserialize( content exp.item_data no indent), xmlserialize( content act.item_data no indent)),1) != 0'
317-
-- using in l_diff_id, a_exclude_xpath, a_include_xpath, self.data_set_guid, a_exclude_xpath, a_include_xpath, l_other.data_set_guid;
318316
'where nvl( dbms_lob.compare(' ||
317+
/*the xmltransform removes column names and leaves column data to be compared only*/
319318
' xmltransform(exp.item_data, :l_xml_data_fmt).getclobval()' ||
320319
', xmltransform(act.item_data, :l_xml_data_fmt).getclobval())' ||
321320
',1' ||

0 commit comments

Comments
 (0)