When running Clarity upgrade, an error is thrown on Oracle:
java.sql.BatchUpdateException: error occurred during batching: ORA-01720: grant option does not exist for 'SYS.USER_OBJECT_USAGE'
SQL Text:
CREATE OR REPLACE FORCE
VIEW CMN_INDX_MONITORING_V ( TABLE_NAME, INDEX_NAME, MONITORING, USED, START_MONITORING, END_MONITORING ) AS
SELECT TABLE_NAME,
INDEX_NAME,
MONITORING,
USED,
START_MONITORING,
END_MONTIROING
FROM USER_OBJECT_USAGE
Clarity 16.4.2 with Oracle
DE207064
In Review by Engineering
The workaround may require the view to be dropped as changing permissions whilst the object is already set may not provide them
Workaround:
Drop the existing view
Grant SELECT specifically, as SYS or SYSDBA -- replace Test with exact user name
Restart your Clarity Upgrade.
Once the old view and its conflicting grants are gone the Clarity install will run its CREATE OR REPLACE VIEW statement. It should succeed and then automatically reapply the grants