ORA-42616
Cannot create JSON Relational Duality View 'string': Root table 'string' does not have a primary key.
Cause
The root table did not have a primary key, which is required to uniquely identify the Duality View document.
Action
Add a primary key to the root table and select all columns of the key in the view.