You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute immediate 'select unordered_cnt from ' || l_ut_owner || '.ut_compound_data_diff_tmp where diff_id = :diff_id' into l_diff_row_count using l_diff_id;
@@ -105,9 +149,9 @@ create or replace type body ut_compound_data_value as
105
149
execute immediate 'select count(*) from ' || l_ut_owner || '.ut_compound_data_diff_tmp where diff_id = :diff_id' into l_diff_row_count using l_diff_id;
if sql%rowcount = 0 and self.elements_count = l_other.elements_count then
177
220
l_result := 0;
@@ -181,5 +224,39 @@ create or replace type body ut_compound_data_value as
181
224
return l_result;
182
225
end;
183
226
227
+
member function compare_implementation(a_other ut_data_value, a_exclude_xpath varchar2, a_include_xpath varchar2, a_unordered boolean ) return integer is
228
+
l_other ut_compound_data_value;
229
+
l_ut_owner varchar2(250) := ut_utils.ut_owner;
230
+
l_column_filter varchar2(32767);
231
+
l_diff_id ut_compound_data_helper.t_hash;
232
+
l_result integer;
233
+
l_row_diffs ut_compound_data_helper.tt_row_diffs;
234
+
c_max_rows constant integer := 20;
235
+
begin
236
+
if not a_other is of (ut_compound_data_value) then
237
+
raise value_error;
238
+
end if;
239
+
240
+
l_other := treat(a_other as ut_compound_data_value);
@@ -203,5 +207,26 @@ create or replace type body ut_data_value_refcursor as
203
207
return l_result;
204
208
end;
205
209
210
+
overriding member function compare_implementation (a_other ut_data_value, a_exclude_xpath varchar2, a_include_xpath varchar2, a_unordered boolean) return integer is
211
+
l_result integer := 0;
212
+
l_other ut_data_value_refcursor;
213
+
begin
214
+
if not a_other is of (ut_data_value_refcursor) then
215
+
raise value_error;
216
+
end if;
217
+
218
+
l_other := treat(a_other as ut_data_value_refcursor);
219
+
220
+
--if column names/types are not equal - build a diff of column names and types
221
+
if ut_compound_data_helper.columns_hash( self, a_exclude_xpath, a_include_xpath )
0 commit comments