Flex Connector - Database
I am stuck with a strange problem. I want to integrate one of our custom application through database. Application is dumping it's trace logs in an Oracle database table.
Table has 4 columns, Transaction ID, Field Name, Old Value, New Value.
10240, UserName, Kaleem, Kaleem Ullah
10240, Dept, IT, Software
10240, MobileNo,101010101, 202020202
10240,Address, xyz, abc
Please suggest how can I collect an event data from this table, that all fields data should be shown in a single row.
This one is a bit tricky, but ask your DBA if he can write a query which can concatenate the values and output it. Also be aware that the output may have empty tokens in some cases.
Once he writes out the query, ask the DBA to send you multiple sample output so you can ensure that the parser is robust.
Also ensure that you add the following
In your parser, because I assume that not always all fields will be populated