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

Skip to content

Commit bcf1606

Browse files
make complete event a.s.a.p. visible in consuming session
Even with "set arraysize 1" the last row in an output table is not consumed delayed. Inserting a new row after the closing event tag, makes the complete event immediately visible in the consuming session. The XML is still valid with these additional whitespaces (spaces based on indentation and new line). As a positive side effect, the different events are more visible.
1 parent 8c1c561 commit bcf1606

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

source/reporters/ut_realtime_reporter.tpb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@ create or replace type body ut_realtime_reporter is
194194
) is
195195
begin
196196
self.print_xml_fragment('</' || a_name || '>', -1);
197+
if a_name like '%Event' then
198+
-- force new line to make complete event a.s.a.p. visible in consuming session
199+
self.print_xml_fragment(null);
200+
end if;
197201
end print_end_node;
198202

199203
member procedure print_node(

0 commit comments

Comments
 (0)