Oracle Message ORA-22978 - only simple attribute name is allowed in the WITH OBJECT OID clause

ERRORonly simple attribute name is allowed in the WITH OBJECT OID clause
CAUSEAttempted to specify a Nested attribute in the WITH OBJECT OID clause.
ACTIONSpecify a top-level attribute of the object type of the object view.