Gerd Wagner - 2021-08-21

The DB2 Plugin tried to read tables from qsys2.systables.
I replaced this for now by

SELECT VIEW_DEFINITION
FROM QSYS2.SYSVIEWS
WHERE TABLE_SCHEMA = '...'
AND TABLE_NAME = '...'

This for my example reads the view source almost right. But the table name it returns seems not right although I can execute the source SQL.

Nonetheless the change is committed and will be available in future snapshots.

If you know of a better place to read view sources from. please let me know.